If you are building a custom form in the view, then yes, you should be able
to do an include in the middle of it. If you just have the SQLFORM object
and want something inserted when it is serialized in the view, it's
trickier but probably doable (need to call response.render() and insert the
Thanks Anthony for stepping up.
I have a views file, it has quite a chunk of html in it. If I could put it
in the controller, I would, but it's quite hefty.
I have about 15 fields, displayed via SQLFORM, just a simple
form = SQLFORM(db.table)
I want to insert a {{include html_file}} in the
On Saturday, September 8, 2012 12:14:16 PM UTC-4, lyn2py wrote:
Thanks Anthony for stepping up.
I have a views file, it has quite a chunk of html in it. If I could put it
in the controller, I would, but it's quite hefty.
I have about 15 fields, displayed via SQLFORM, just a simple
form
Thanks Anthony, that worked!
On Sunday, September 9, 2012 4:03:07 AM UTC+8, Anthony wrote:
On Saturday, September 8, 2012 12:14:16 PM UTC-4, lyn2py wrote:
Thanks Anthony for stepping up.
I have a views file, it has quite a chunk of html in it. If I could put
it in the controller, I
4 matches
Mail list logo