~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-06-29 01:55:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1322.
  • Revision ID: grantw@unimelb.edu.au-20090629015555-49xxv0piiieunx8e
Add docs on configuring Apache.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
      <form action="" method="post">
10
10
        <p>
11
11
          <label for="user">Username:</label>
12
 
          <input type="text" id="user" name="user" />
13
 
          <label for="role">Enrol as:</label>
14
 
          <select id="role" 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>
 
12
          <input type="text" name="user" />
 
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>