<h1 tal:replace="structure context/manage_page_header">PAGE HEADER</h1>
<h2 tal:define="form_title view/title"
    tal:replace="structure context/manage_form_title">FORM TITLE</h2>

<p class="form-help" tal:content="view/description">DESCRIPTION TEXT.</p>

<form action="." method="post"
   tal:attributes="action request/ACTUAL_URL">
<table cellspacing="0" cellpadding="2" border="0">
 <tr>
  <td>
   <div class="form-label">ID</div>
  </td>
  <td>
   <input type="text" name="add_input_name" size="40" />
  </td>
 </tr>
 <tr tal:condition="view/getProfileInfos">
  <td>
   <div class="form-label">Presettings</div>
  </td>
  <td>
   <select name="settings_id">
    <option value="" selected="selected">(None)</option>
    <optgroup label="PROFILE_TITLE"
       tal:repeat="profile view/getProfileInfos"
       tal:attributes="label profile/title">
     <option value="SETTINGS_ID"
             tal:repeat="obj_id profile/obj_ids"
             tal:attributes="value string:${profile/id}/${obj_id}"
             tal:content="obj_id">OBJ ID</option></optgroup>
   </select>
  </td>
 </tr>
 <tr>
  <td>
   &nbsp;
  </td>
  <td>
   <input class="form-element" type="submit" name="submit_add" value="Add" /> 
  </td>
 </tr>
</table>
</form>

<h1 tal:replace="structure context/manage_page_footer">PAGE FOOTER</h1>
