widget=lambda k,v: SQLFORM.widgets.radio.widget(k,v,_style='ul')

On Friday, 21 December 2012 03:19:16 UTC-6, Annet wrote:
>
> I defined the following field:
>
> Field('moduleID',type='integer',requires=IS_EMPTY_OR(IS_IN_SET([ABOUTGROUPID,CALENDARGROUPID],labels=['About','Kalender'])),widget=SQLFORM.widgets.radio.widget,label='Module
>  
> * '),
>
>
> In the form the radio widget is rendered as a table with the label beneath 
> the input, I' d like to have the label to the right of the input.
> How do I get this done?
>
> I tried:
>
> widget=SQLFORM.widgets.radio.widget(style='ul') but tat results in an 
> error: 1 attribute provided where 3 are needed.
>
>
> Kind regards,
>
> Annet
>
>

-- 



Reply via email to