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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/enrol.html

  • Committer: William Grant
  • Date: 2009-12-07 11:01:50 UTC
  • mfrom: (1341.1.3 trunk)
  • Revision ID: grantw@unimelb.edu.au-20091207110150-jct30a9yru432ddn
Fix up the project set creation UI a bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        <p>
11
11
          <label for="user">Username:</label>
12
12
          <input type="text" name="user" />
13
 
          <label for="role">Enrol as:</label>
14
 
          <select name="role">
15
 
            <option py:if="'enrol_student' in roles_auth" value="student" selected="selected">Student</option>
16
 
            <option py:if="'enrol_tutor' in roles_auth" value="tutor">Tutor</option>
17
 
            <option py:if="'enrol_lecturer' in roles_auth" value="lecturer">Lecturer</option>
18
 
          </select>
19
 
          <span py:if="'user' in errors" class="form_error">${errors.user}.</span>
20
 
          <span py:if="'role' in errors" class="form_error">${errors.role}.</span>
 
13
          <span py:if="'user' in errors" class="form_error">${errors.user}</span>
21
14
          <br />
22
15
          <input type="submit" value="Enrol" />
23
16
        </p>