<dtml-var manage_page_header>
<dtml-var manage_tabs>

<p class="form-help">
Test this form.
</p>

<dtml-if formulator_submission>
  <dtml-try>
    <dtml-call "validate_all(REQUEST)">
    <p>All fields were validated correctly.</p>
  <dtml-except FormValidationError>
   <p>Not all fields could be validated.</p>
   <table cellspacing="0" cellpadding="2" border="0">
     <tr class="list-header">
       <td><div class="form-label">field_id&nbsp;</div></td>
       <td><div class="form-label">error_key</div></td>
       <td><div class="form-label">error_text</div></td>
     </tr>
     <dtml-in "error_value.errors">
     <dtml-let error=sequence-item>
     <tr>
       <td class="form-text">
       <dtml-var "error.field_id">
       </td>
       <td class="form-text">
       <dtml-var "error.error_key">
       </td>
       <td class="form-text">
       <dtml-var "error.error_text">
       </td>
     </tr>
     </dtml-let>
     </dtml-in>
   </table>
  </dtml-try>
  <hr>
</dtml-if>

<dtml-var header>
  <table cellspacing="0" cellpadding="2" border="0">
  <dtml-in "get_groups()">
  <dtml-let group=sequence-item fields="get_fields_in_group(group)">
  <dtml-if fields>
  <tr><td colspan="2" class="list-header"><div class="form-label"><dtml-var group></div></td></tr>
  <dtml-in fields>
  <dtml-let field=sequence-item>
  <tr>
    <td align="left" valign="top">
    <div class="form-label">
    <dtml-if "field.widget.has_html_id"><label for="<dtml-var "field.html_id">"><dtml-var "field.title()"></label><dtml-else><dtml-var "field.title()"></dtml-if>
    
    </div>
    </td>
    <td align="left" valign="top">
    <dtml-var "field.render_from_request(REQUEST)">
    </td>
  </tr>
  </dtml-let>
  </dtml-in>
  </dtml-if>
  </dtml-let>
  </dtml-in>

  <tr><td><input type="submit" value="Test"></td></tr>

  </table>
<dtml-var footer >


<dtml-var manage_page_footer>

