enum-add.adp

Delivered as text/html

Related Files

[ hide source ] | [ make this the default ]

File Contents

<master>
<property name="context">@context;literal@</property>
<property name="doc(title)">Specify values for @attribute_pretty_name;literal@</property>

Note: Every value must have a unique name. Duplicate names will be ignored.

<h3>Current values</h3>
<ul>

<if @current_values:rowcount;literal@ eq 0>
  <li> <em>none</em> </li>
</if><else>
  <multiple name="current_values">
    <li>  @current_values.enum_value@ </li>
  </multiple>
</else>

</ul>



<form method="post" action="enum-add-2">
@export_vars;noquote@

<table>

<multiple name="value_form">
 <tr>
  <td>Value @value_form.sort_order@:</td>
  <td><input type="text" name="@value_form.field_name@" maxlength="100"></td>
 </tr>
</multiple>

</table>

<center>
<input type="submit" name="operation" value=" Add more values ">
<br>
<input type="submit" name="operation" value=" Finish adding values ">
</center>

</form>