You can use the FORM helper to add DIV elements. Or even add empty DIV
elements which you can fill in later with JS
one example
form = FORM( DIV(DIV( INPUT(...), , _class="col-sm-2") ,
DIV("NEWS",_id="form-user", _class="col-sm-2" ))
.....
, INPUT(_type='submit', _class = "btn btn-primary")
, _method="post", _id="payment-form")
not sure if thats helpful!
On Monday, February 11, 2019 at 9:13:48 AM UTC-8, Ben Duncan wrote:
>
> Ok, any ideas of how I can split my form down the middle using sqlform ?
>
> I need the left 50% for login input and the right 50% for a NEWS coulumn:
>
> ie:
>
> MY HEADER TOP LINE STUFF HERE
>
> -------------------------------------------------------------+--------------------------------------------
> User ID | (a
> pic) NEWS
> [ ]
> | Headline Next Line
> Password
> |----------------------------------------------
> [ ]
> | Blah Blah Blah Blah .........
> |
> <SUBMIT BUTTON> |
>
> ----------------------------------------------------------------------------------------------------------------
>
> ANY help is appreciated
>
> Thanks ...
>
> *Ben Duncan*
> DBA / Chief Software Architect
> Mississippi State Supreme Court
> Electronic Filing Division
>
--
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.