There are a number of options. You could insert breaks in between (i.e., 
using the BR helper), wrap each input in a DIV(), or create an HTML table 
and put each input in a table row.

Anthony

On Sunday, August 17, 2014 6:37:22 PM UTC-4, sid datta wrote:
>
>
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to