enroll_students.html 594 Bytes
Newer Older
1
<%! from django.utils.translation import ugettext as _ %>
Piotr Mitros committed
2

3 4 5
<h1>${_("Student Enrollment Form")} </h1>

<p> ${_("Course: ") % course}
Piotr Mitros committed
6 7 8

<form method="POST"> 
<input type="hidden" name="csrfmiddlewaretoken" value="${ csrf_token }">
9
<h2> ${_("Add new students")} </h2>
Piotr Mitros committed
10 11 12 13 14
<textarea name="new_students">
</textarea>
<input type="submit">
</form>

15
<p> ${_("Existing students:")}
Piotr Mitros committed
16 17 18

<p> ${ existing_students }

19
<p> ${_("New students added: ")}
Piotr Mitros committed
20 21
${ added_students }

22
<p> ${_("Students rejected: ")}
Piotr Mitros committed
23 24
${ rejected_students }

25
<p> ${_("Debug: ")}
Piotr Mitros committed
26 27 28
<p> ${ debug }


29 30 31
<p> ${_("foo")}
<p> ${_("bar")}
<p> ${_("biff")}