1594
by William Grant
Add semester edit UI. |
1 |
<html xmlns="http://www.w3.org/1999/xhtml" |
2 |
xmlns:py="http://genshi.edgewall.org/" |
|
3 |
py:strip=""> |
|
4 |
<body py:strip=""> |
|
5 |
<p class="form_error"> |
|
6 |
<strong>Warning:</strong> Changing the year or semester here <em>will |
|
7 |
break</em> any existing Subversion repositories or checkouts |
|
8 |
associated with this semester's offerings. Be very careful. |
|
9 |
</p> |
|
10 |
<form class="verticalform thin" method="post" action=""> |
|
11 |
<div>
|
|
12 |
<label for="field_year">Year:</label> |
|
13 |
<input type="text" id="field_year" name="year" /> |
|
14 |
<span py:if="'year' in errors" class="form_error">${errors.year}</span> |
|
15 |
</div> |
|
16 |
<div>
|
|
17 |
<label for="field_semester">Semester:</label> |
|
18 |
<input type="text" id="field_semester" name="semester" /> |
|
19 |
<span py:if="'semester' in errors" class="form_error">${errors.semester}</span> |
|
20 |
</div> |
|
21 |
<div>
|
|
22 |
<label for="field_state">State:</label> |
|
23 |
<select id="field_state" name="state"> |
|
24 |
<option value="past">Past</option> |
|
25 |
<option value="current" selected="selected">Current</option> |
|
26 |
<option value="future">Future</option> |
|
27 |
</select> |
|
28 |
<span py:if="'state' in errors" class="form_error">${errors.state}</span> |
|
29 |
</div> |
|
30 |
<div class="submit form_error" py:if="defined('error_value')" py:content="error_value" /> |
|
31 |
<div class="submit"> |
|
32 |
<input type="submit" value="${submit_button_label}" /> |
|
33 |
</div> |
|
34 |
</form> |
|
35 |
</body> |
|
36 |
</html> |