I am not convinced this is the right fix. Does bootstrap suggest this? I do 
not think the input should be in the label. Perhaps there is an alternative 
fix using css?

On Thursday, 20 December 2012 03:08:01 UTC-6, KMax wrote:
>
> Hello,
>
>   Using this widget=SQLFORM.widgets.checkboxes.widget for list of values 
> gives the following html code:
>
> <input id="some1" name="something" type="checkbox" value="1" />
> <label for="some1">Option1</label>
>
> <input id="some2" name="something" type="checkbox" value="2" />
> <label for="some2">Option2</label>
>
> While if INPUT reside inside LABLE it looks better (imho)
> <label for="some1">
>  <input id="some1" name="something" type="checkbox" value="1" /> Option1
> </label> 
>
> <label for="some2">
>  <input id="some2" name="something" type="checkbox" value="2" /> Option2
> </label>
>
> Same time this change might broke some compatibility. Maybe this behavior 
> was made for some reason.
> Community, please share your opinion.
>
> Thanks,
>
>

-- 



Reply via email to