nice, i like that, i use it in my views in the way, under controller:
sform = SQLFORM(tSheet, record=sidi, buttons=[INPUT(_type='submit',
_name='submit', _value='Save Worksheet', _style="width:410px;"),
INPUT(_type='submit', _name='mtn_modify', _value='Motion to Modify',
_style="width:410px;"), INPUT(_type='submit', _name='gross',
_value='Gross-to-Net Income Adjustments', _style="width:410px;"),
INPUT(_type='submit', _name='complex', _value='Complex Timesharing/Split
Arrangements', _style="width:410px;"), INPUT(_type='submit',
_name='summary', _value='Analyses Summary', _style="width:410px;")])
and then under the view:
{{=DIV(sform.custom.submit[0], sform.custom.submit[1],
sform.custom.submit[4], _style="text-align:center;")}}
and the other two buttons in other locations. sweet, lucas
--
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.