Adding a class to a widget isn't hard. Here's an example of a bootstrap
class added to a textarea widget:
db.issues.description.widget = lambda field,value:\
SQLFORM.widgets.text.widget(field,value,_class='input-xxlarge')
On Tuesday, March 12, 2013 6:35:23 AM UTC-4, Johann Spies wrote:
>
> On 11 March 2013 18:36, Richard Vézina <[email protected]<javascript:>
> > wrote:
>
>> An other option could be customize widget and you add the bootstrap
>> class...
>>
>>
>> On Mon, Mar 11, 2013 at 12:35 PM, Richard Vézina
>> <[email protected]<javascript:>
>> > wrote:
>>
>>> Form custom maybe??
>>>
>>>
>>> http://web2py.com/books/default/chapter/29/07?search=custom+form#Custom-forms
>>>
>>>
> I am using custom forms. The problem is that the widgit puts the radio
> buttons (with labels) in a table and I do not know how to drop the label
> and control the placement of the actual input field individually. Maybe I
> should study that and try it.
>
> Regards
> Johann
>
> --
> Because experiencing your loyal love is better than life itself,
> my lips will praise you. (Psalm 63:3)
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.