pyalchemybiz/pyalchemybiz/templates/derived/customer/edit.mako
Jan Dittberner e3fe3f8353 improve customer controller and templates (addresses #21)
* fix xhtml compliance
 * add form validation
 * move common template code to a separate file
2009-03-14 19:13:52 +01:00

12 lines
352 B
Mako

<%inherit file="/base/customer.mako" />
<%namespace file="fields.mako" name="fields" import="*"/>
${h.form(h.url_for(action='save'))}
<fieldset id="editcustomerform">
<legend>${_('Edit customer')}</legend>
${fields.body()}
${h.submit('save', _('Save changes'))}
</fieldset>
${h.end_form()}
<%def name="heading()"><h1>${_('Edit customer')}</h1></%def>