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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/enrolment-edit.html

  • Committer: drtomc
  • Date: 2008-02-04 23:06:26 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:404
Version 0 of the usrmgt server.
1. doesn't make the jail yet.
2. doesn't sync the passwd files properly (I'm sure Wilson muttered the words "shadow password file" at some point in our conversation).

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
 
  <head>
4
 
    <title>Edit ${context.user.fullname}'s enrolment in ${context.offering.subject.name}</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Edit ${context.user.fullname}'s enrolment in ${context.offering.subject.name}</h1>
8
 
    <div id="ivle_padding">
9
 
      <form action="" method="post" class="verticalform thin">
10
 
        <div><label for="field_fullname">Full name:</label> <span id="field_fullname">${context.user.fullname}</span></div>
11
 
        <div><label for="field_login">Login:</label> <span id="field_login">${context.user.login}</span></div>
12
 
        <div>
13
 
          <label for="field_role">Role:</label>
14
 
          <select id="field_role" name="role">
15
 
            <option py:if="'enrol_student' in offering_perms" value="student">Student</option>
16
 
            <option py:if="'enrol_tutor' in offering_perms" value="tutor">Tutor</option>
17
 
            <option py:if="'enrol_lecturer' in offering_perms" value="lecturer">Lecturer</option>
18
 
          </select>
19
 
          <span py:if="'role' in errors" class="form_error">${errors.role}.</span>
20
 
        </div>
21
 
        <div class="submit"><input type="submit" value="Change Role"/></div>
22
 
      </form>
23
 
    </div>
24
 
  </body>
25
 
</html>