Okay, I see that now.
Thank you and everyone else for the input.
On Friday, 6 November 2015 07:06:34 UTC, Annet wrote:
>
>
> That the labels for boolean fields are consistent in appearance with the
>> labels for other classes of field.
>>
>> So, emboldened and on the left.
>>
>
> That's not
> That the labels for boolean fields are consistent in appearance with the
> labels for other classes of field.
>
> So, emboldened and on the left.
>
That's not the way Bootstrap styles a boolean checkbox see the Remember me
input for both
http://getbootstrap.com/css/#forms-inline and
In the book it mention that radio and checkboxes widget have different
style attribute, your issue is probably related to this particularity of
these widget ?
Quote from the book :
Widgets are helper factories and their first two arguments are always field
and value. The other arguments can
Ah, I see that my 'checkbox' is actually this widget by default:
SQLFORM.widgets.boolean.widget
So then it's in fact the boolean.widget that isn't being correctly styled.
Still trying to work out where the styling for boolean.widget comes from.
Still think it's something that will be
When you want control over widget that are manage by sqlform, you better
set the widget at the model level and pass you preferences of display... If
it still not working you can implement your own widget where you are free
to style it the way you want even change the display framework completly...
Web2py version:
>>> import gluon.widget
>>> print gluon.widget.ProgramVersion
Version 2.12.3-stable+timestamp.2015.08.19.00.18.03
When using bootstrap3_inline for forms, the checkbox lables are not
correctly styled:
This is my form code:
form=SQLFORM.factory(
That the labels for boolean fields are consistent in appearance with the
labels for other classes of field.
So, emboldened and on the left.
On Tuesday, 3 November 2015 16:28:15 UTC, Richard wrote:
>
> What is the expected behavior?
>
> On Tue, Nov 3, 2015 at 4:50 AM, Gary Cowell
What is the expected behavior?
On Tue, Nov 3, 2015 at 4:50 AM, Gary Cowell wrote:
> Web2py version:
> >>> import gluon.widget
> >>> print gluon.widget.ProgramVersion
> Version 2.12.3-stable+timestamp.2015.08.19.00.18.03
>
>
> When using bootstrap3_inline for forms, the
8 matches
Mail list logo