Mercurial > public > sg101
comparison gpp/templates/news/submit_news.html @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | 9a8801fa63d5 |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 {% extends 'news/base.html' %} | |
2 {% block title %}News: Submit News{% endblock %} | |
3 {% if add_form %} | |
4 {% block custom_js %} | |
5 {{ add_form.media }} | |
6 {% endblock %} | |
7 {% endif %} | |
8 {% block submit-class %}class="active"{% endblock %} | |
9 {% block news_content %} | |
10 <h3>Submit News</h3> | |
11 {% if add_form %} | |
12 <form action="." method="post"> | |
13 <table> | |
14 {{ add_form.as_table }} | |
15 <tr><td> </td><td><input type="submit" value="Submit" /> | |
16 <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr> | |
17 </table> | |
18 </form> | |
19 {% else %} | |
20 <p><strong>Thank you for submitting a news item!</strong></p> | |
21 <p>Your news item has been submitted for review to the site staff. Your item may be edited for content, | |
22 grammar, or spelling. If there are any problems or questions, you will receive an email or private message. | |
23 Thank you for contributing to the site!</p> | |
24 {% endif %} | |
25 <br /> | |
26 {% endblock %} |