This is part 2 of a multiple PR to escape edx-platform templates to prevent xss attack. PROD-465
28 lines
575 B
HTML
28 lines
575 B
HTML
<%page expression_filter="h" />
|
|
<%! from django.utils.translation import ugettext as _ %>
|
|
|
|
<h1>${_("Student Enrollment Form")} </h1>
|
|
|
|
<p> ${_("Course: ") % course}
|
|
|
|
<form method="POST">
|
|
<input type="hidden" name="csrfmiddlewaretoken" value="${ csrf_token }">
|
|
<h2> ${_("Add new students")} </h2>
|
|
<textarea name="new_students">
|
|
</textarea>
|
|
<input type="submit">
|
|
</form>
|
|
|
|
<p> ${_("Existing students:")}
|
|
|
|
<p> ${ existing_students }
|
|
|
|
<p> ${_("New students added: ")}
|
|
${ added_students }
|
|
|
|
<p> ${_("Students rejected: ")}
|
|
${ rejected_students }
|
|
|
|
<p> ${_("Debug: ")}
|
|
<p> ${ debug }
|