2
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml"
5
xmlns:xi="http://www.w3.org/2001/XInclude"
6
xmlns:py="http://genshi.edgewall.org/">
7
<xi:include href="admin.html" />
9
<title>$label_plural</title>
13
<h2>Manage $label_plural</h2>
15
<py:choose test="view">
16
<form py:when="'detail'" class="mod" id="modenum" method="post">
18
<legend>Modify $label_singular</legend>
20
<label>Name: <input type="text" name="name" value="${enum.name}" /></label>
23
<input type="submit" name="cancel" value="Cancel"/>
24
<input type="submit" name="save" value="Save"/>
30
<form class="addnew" id="addenum" method="post">
32
<legend>Add $label_singular</legend>
34
<label>Name:<input type="text" name="name" id="name"/></label>
37
<input type="submit" name="add" value="Add"/>
43
<form py:when="enums" id="enumtable" method="POST">
44
<table class="listing" id="enumlist">
46
<tr><th class="sel"> </th>
47
<th>Name</th><th>Default</th><th>Order</th>
51
<tr py:for="enum in enums">
52
<td><input type="checkbox" name="sel" value="${enum.name}" /></td>
53
<td><a href="${panel_href(enum.name)}">${enum.name}</a></td>
55
<input type="radio" name="default" value="${enum.name}"
56
checked="${enum.name==default or None}" />
59
<select name="value_${enum.value}">
60
<option py:for="other in enums"
61
selected="${other.value==enum.value or None}">${other.value}</option>
68
<input type="submit" name="remove" value="Remove selected items" />
69
<input type="submit" name="apply" value="Apply changes" />
72
You can remove all items from this list to completely hide this
73
field from the user interface.
77
<p py:otherwise="" class="help">
78
As long as you don't add any items to the list, this field
79
will remain completely hidden from the user interface.