Hi there,

very nice, the CheckboxSelectMultiple is what I want.
But one thing:
The default rendering of the checkboxes is
<li>
    <label for="id"><input type="checkbox" id="id" name="id"/> 
Lagerbevorratung</label>
</li>

it would be great if I could display the input-element outside of the 
label-tag.
Perhaps it is possible to iterate over the options of the 
CheckboxSelectMultiple-Field in the template?

Thanks again,
greets b

Tim Valenta schrieb:
> Actually-- quick followup:
>
> The widget looks alright if you haven't got the 'aligned' css class on
> the fieldset.  But if you do, watch out :P
>
> On Nov 23, 4:20 pm, Tim Valenta <tonightslasts...@gmail.com> wrote:
>   
>> That widget doesn't seem to look right on *any* browser.  It's got
>> this weird step-like appearance.  Firefox is the only browser where it
>> appears even close to acceptable.  I might be submitting a patch for
>> the CSS soon...  It's horrible.
>>
>> On Nov 23, 1:14 pm, aa56280 <aa56...@gmail.com> wrote:
>>
>>
>>
>>     
>>> leoz01, Django comes with a widget for precisely this use case (check
>>> link above). Creating your own would be a complete waste of time.
>>>       
>>> On Nov 20, 3:52 am, leoz01 <leozleo...@gmail.com> wrote:
>>>       
>>>> I think the easiest way is to make your own widget or otherwise you
>>>> can make your own form field.
>>>>         
>>>> On 19 nov, 10:19, Benjamin Wolf <b...@shs-it.de> wrote:
>>>>         
>>>>> Hello,
>>>>>           
>>>>> I'm using Django's form and ModelMultipleChoiceField.
>>>>> ModelMultipleChoiceField produces a select list with multiple options.
>>>>> Is it possible to use
>>>>> checkboxesinstead?
>>>>>           
>>>>> Thanks,
>>>>> Greets Ben
>>>>>           
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=.
>
>
>   

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to