On Jun 24, 2010, at 11:51 AM, Marius Gedminas wrote:
>> <%def name="formfill(content)">
>> <% errors = c.form_errors or {} %>
>> % if not errors and not request.params:
>> ${content |n}
Ah, yes, right. In my case I have a block inside the content that handles
errors typically. If you had <form> blocks, that would need to be changed.
Cheers,
Ben
--
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.