You are on the wrong way, if you want to do this in the *controller*.
Due to MVC, you have to customize your form's appearance in your *view*


понедельник, 18 августа 2014 г., 2:37:22 UTC+4 пользователь sid datta 
написал:
>
>
> HI - I wanted to customize the layout and use FORM.
>
> So a simple example - where I would like to have 2 input boxes and a 3 rd 
> submit button each on its own line. I wanted to do this in the controller - 
> so
>
> form = 
> FORM(INPUT(_name='fname'),INPUT(_name='lname'),INPUT(_type='Submit'))
>
> this puts all the 3 on the same line - how do i split this into different 
> lines??
>

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