> I'm not sure we should have created a formstyle called "boostrap", though. 
>> Instead, we should probably put a formstyle.py in contrib that includes 
>> several custom formstyles, including ones for Bootstrap 2 and Bootstrap 3. 
>> Then you would do:
>>
>> from gluon.contrib.formstyle import bootstrap3
>> form = SQLFORM(..., formstyle=bootstrap3)
>>
>>
> I think this should be the way to go.
> But it will not be enough, for example, I'm using bootstrap3 with web2py 
> in my personal feed reader/aggregator
> (you can check here http://feeds.uni.me/)
> and if you go to the register form, the "Verify Password" field doesn't 
> pass through the custom formstyle, we will have
> to do some css, js or server side dom manipulation, if we want to style 
> this fields (that feels a little bit hacky, for me).
>

Good point. In many places, Auth adds elements to SQLFORM's, and it cannot 
accommodate custom formstyles in those cases. We should probably re-think 
how that is handled so any formstyle can be applied to Auth forms.

Anthony 

-- 

--- 
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.

Reply via email to