I'm not sure I follow this exactly, but could you create a template fragment
(a %def in Mako) that contains the form and then call it with the
differentiating args? Something like this:
<%def name="make_form(action, submit_value)">
<form method="POST" action="${action}">
<!-- form controls here -->
<input type="submit" value="${submit_value}" />
</form>
</%def>
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pylons-discuss/-/269HwRNcJSIJ.
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.