1
<html xmlns="http://www.w3.org/1999/xhtml"
2
xmlns:py="http://genshi.edgewall.org/">
4
<title>Edit ${context.user.fullname}'s enrolment in ${context.offering.subject.name}</title>
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>
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>
19
<span py:if="'role' in errors" class="form_error">${errors.role}.</span>
21
<div class="submit"><input type="submit" value="Change Role"/></div>