~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/semester-form.html

  • Committer: William Grant
  • Date: 2010-02-15 08:39:41 UTC
  • Revision ID: grantw@unimelb.edu.au-20100215083941-60xqwbmhad360dmq
Add semester edit UI.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>