fysm-4-1space-accessstablestagetest-hooks
Last change
on this file since 2eefd9f was
07caee0,
checked in by Alex Dehnert <adehnert@…>, 15 years ago
|
Add category descriptions to submit page
|
-
Property mode set to
100644
|
File size:
831 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}}.</p> |
---|
10 | |
---|
11 | <form enctype="multipart/form-data" method="post" action=""> |
---|
12 | <table class='pretty-table'> |
---|
13 | {{ form.as_table }} |
---|
14 | <tr><th colspan='2'><input type='submit' value='Submit FYSM entry' /></th></tr> |
---|
15 | </table> |
---|
16 | </form> |
---|
17 | |
---|
18 | <h2>Categories</h2> |
---|
19 | |
---|
20 | <p>Below you can find the descriptions of the categories that you can choose among.</p> |
---|
21 | |
---|
22 | <table class='pretty-table'> |
---|
23 | <thead> |
---|
24 | <tr> |
---|
25 | <th>Name</th> |
---|
26 | <th>Description</th> |
---|
27 | </tr> |
---|
28 | </thead> |
---|
29 | <tbody> |
---|
30 | {% for category in categories %} |
---|
31 | <tr> |
---|
32 | <th>{{category.name}}</th> |
---|
33 | <td>{{category.blurb}}</td> |
---|
34 | </tr> |
---|
35 | {% endfor %} |
---|
36 | </tbody> |
---|
37 | </table> |
---|
38 | |
---|
39 | </div> |
---|
40 | {% endblock %} |
---|
Note: See
TracBrowser
for help on using the repository browser.