pyalchemybiz/pyalchemybiz/templates/derived/customer/new.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
374 B
Mako

<%inherit file="/base/customer.mako" />
<%namespace file="fields.mako" name="fields" import="*"/>
${h.form(h.url_for(action='create'))}
<fieldset id="createcustomerform">
<legend>${_('Create new customer')}</legend>
${fields.body()}
${h.submit('submit', _('Add new customer'))}
</fieldset>
${h.end_form()}
<%def name="heading()"><h1>${_('Create new customer')}</h1></%def>