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