Juslin, I've done it manually like in your example. Yes it's long, but gives
full control on every field. I also define number of rows for each text box and
have a placeholder text. Also classes and other parameters (e.g. Default
values) are easier too define in view than in controller, so that
Hi All,
I making the switch from cakephp to web2py, one of the things i struggle
with is the form module... Is there a way i could override it without
having to touch the controller.
This requires the controller to know the css class..
form = SQLFORM(db.post,_class="form-horizontal bucket-form"
2 matches
Mail list logo