<%namespace name="fieldmodule" file="Field.html" /> <%call expr="header(form)" /> <%call expr="errors(form)" /> <%call expr="fields(form)" /> <%call expr="actions(form)" /> <%call expr="footer(form)" /> <%def name="header(form)"> <% if form.action_url: action_url = form.action_url else: action_url = '' %>
<%def name="errors(form)"> %if form.error is not None:

${unicode(form.error)}

%endif <%def name="fields(form)"> %for f in form.fields: ${f()|n} %endfor <%def name="actions(form)">
%if form.actions == []: %else: %for action in form.actions: %endfor %endif
<%def name="footer(form)">
<%def name="field(form)"> ${fieldmodule.field(form)}