space-accessstablestagetest-hooks
|
Last change
on this file was
c9d8369,
checked in by Alex Dehnert <adehnert@…>, 14 years ago
|
|
Add CSRF protections
|
-
Property mode set to
100644
|
|
File size:
958 bytes
|
| Line | |
|---|
| 1 | {% extends "base.html" %} |
|---|
| 2 | |
|---|
| 3 | {% block title %}First Year Summer Mailing submission{% endblock %} |
|---|
| 4 | {% block content %} |
|---|
| 5 | <div class='fysm-submit'> |
|---|
| 6 | |
|---|
| 7 | <h2>First Year Summer Mailing submission</h2> |
|---|
| 8 | |
|---|
| 9 | <p>You are submitting a FYSM entry for {{group}}. You can see <a href='{% url fysm %}'>other group's entries</a> for ideas on what your entry should look like.</p> |
|---|
| 10 | |
|---|
| 11 | <form enctype="multipart/form-data" method="post" action=""> |
|---|
| 12 | {% csrf_token %} |
|---|
| 13 | <table class='pretty-table'> |
|---|
| 14 | {{ form.as_table }} |
|---|
| 15 | <tr><th colspan='2'><input type='submit' value='Submit FYSM entry' /></th></tr> |
|---|
| 16 | </table> |
|---|
| 17 | </form> |
|---|
| 18 | |
|---|
| 19 | <h2>Categories</h2> |
|---|
| 20 | |
|---|
| 21 | <p>Below you can find the descriptions of the categories that you can choose among.</p> |
|---|
| 22 | |
|---|
| 23 | <table class='pretty-table'> |
|---|
| 24 | <thead> |
|---|
| 25 | <tr> |
|---|
| 26 | <th>Name</th> |
|---|
| 27 | <th>Description</th> |
|---|
| 28 | </tr> |
|---|
| 29 | </thead> |
|---|
| 30 | <tbody> |
|---|
| 31 | {% for category in categories %} |
|---|
| 32 | <tr> |
|---|
| 33 | <th>{{category.name}}</th> |
|---|
| 34 | <td>{{category.blurb}}</td> |
|---|
| 35 | </tr> |
|---|
| 36 | {% endfor %} |
|---|
| 37 | </tbody> |
|---|
| 38 | </table> |
|---|
| 39 | |
|---|
| 40 | </div> |
|---|
| 41 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.