Mercurial > public > sg101
comparison gpp/templates/news/submit_news.html @ 240:1246a4f1ab4f
For #93: fix url scheme for the news application.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 15 Sep 2010 00:14:54 +0000 |
parents | 6a5549c2efb5 |
children | daa2916f5b34 |
comparison
equal
deleted
inserted
replaced
239:dcc929973bba | 240:1246a4f1ab4f |
---|---|
11 {% if add_form %} | 11 {% if add_form %} |
12 <form action="." method="post">{% csrf_token %} | 12 <form action="." method="post">{% csrf_token %} |
13 <table> | 13 <table> |
14 {{ add_form.as_table }} | 14 {{ add_form.as_table }} |
15 <tr><td> </td><td><input type="submit" value="Submit" /> | 15 <tr><td> </td><td><input type="submit" value="Submit" /> |
16 <a href="{% url news-index_page page=1 %}">Cancel</a></td></tr> | 16 <a href="{% url news-index_page %}">Cancel</a></td></tr> |
17 </table> | 17 </table> |
18 </form> | 18 </form> |
19 {% else %} | 19 {% else %} |
20 <p><strong>Thank you for submitting a news item!</strong></p> | 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, | 21 <p>Your news item has been submitted for review to the site staff. Your item may be edited for content, |