I am trying to use a bootstrap3 template for my project. 

In bootstrap forms div element containing the input has class "has-error".

In web2py (gluon/html.py) input control itself is specially marked if it 
has na error. 
Well, more or less.

If I am returning an SQLFORM what would be the right approach to change a 
class of a parent element of an input? I looked at formstyles, but 
apparently when when formstyle is applied the form.errors is not populated 
yet.

Does anybody have a bootstrap3 library for web2py that "just works" by any 
chance? Or at least follows http://getbootstrap.com/css/#forms more closely.

Thank you.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to