<dtml-var standard_html_header>

<div class="Desktop">

<div class="Topic">

<h2> Topic Criteria: &dtml-getId; </h2>

<form action="&dtml-absolute_url;" method="post">

<dtml-in listCriteria>
 <dtml-var expr="_[getEditForm()]">
</dtml-in>
<input type="submit" name="topic_editCriteria:action"
       value=" Save changes "> &nbsp;&nbsp;
<input type="submit" name="topic_deleteCriteria:action"
       value=" Delete selected ">
<input type="hidden" name=":default_action" value="editCriteria">
</form>


<form action="&dtml-absolute_url;/topic_addCriterion" method="post">
<h2> Add New Topic Criteria: </h2>
<table class="FormLayout">
 <tr valign="top">
  <th align="right"> Field id: </th>
  <td><select name="field">
    <dtml-in name="listAvailableFields">
    <option value="&dtml-sequence-item;">&dtml-sequence-item;</option>
    </dtml-in>
  </select></td>
 </tr>
 <tr valign="top">
  <th align="left"> Criterion type: </th>
  <td><select name="criterion_type">
    <dtml-in name="listCriteriaTypes" mapping>
    <option value="&dtml-name;">&dtml-name;</option>
    </dtml-in>
  </select></td>
 </tr>
 <tr>
  <td>&nbsp;</td>
  <td><input type="submit" value=" Add "></td>
 </tr>
</table>
</form>

</div>

</div>

<dtml-var standard_html_footer>
