I'm using Form from: from py4web.utils.form import Form
I want to add some classes to the <form> tag that is generated. In web2py I can add _class='field is-horizontal' when creating the instance and the classes will be passed along. Optionally I could add some css/javascript that could modify the classes. However, then I need to be able to reference the form. I assumed I could do that with the form_name argument, but that doesn't add a name or id to the form element. It is used on some of the children, but not on the form itself. How can I add classes to the form and to the elements inside the form? -Jim -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/fe01bcb5-4b4d-40a7-9974-6aa0a95dae48%40googlegroups.com.

