Mercurial > public > sg101
comparison gpp/templates/news/submit_news.html @ 4:9a8801fa63d5
Got rid of the pseudo cancel buttons on various forms. Replaced them with cancel links.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 11 Apr 2009 18:52:19 +0000 |
parents | dbd703f7d63a |
children | 6a5549c2efb5 |
comparison
equal
deleted
inserted
replaced
3:33f73b7bd305 | 4:9a8801fa63d5 |
---|---|
11 {% if add_form %} | 11 {% if add_form %} |
12 <form action="." method="post"> | 12 <form action="." method="post"> |
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 <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr> | 16 <a href="{% url news-index_page page=1 %}">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, |