In pylons > 0.9.6 you need this:
${ form.render() | n}
On Fri, Jan 30, 2009 at 4:59 PM, Suha Onay <[email protected]> wrote:
>
> Hi,
> I am using FormAlchemy to create html codes of forms, tables etc. in
> integration with SqlAlchemy in a Pylons project.
>
> Controller: c.userTable = userTable.render()
> Mako Template: ${c.userTable}
> This prints the html code directly.
>
> How can i use the rendered html code generated by FormAlchemy in mako
> templates?
>
> Suha
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---