Mercurial > public > sg101
annotate gpp/templates/news/submit_news.html @ 133:c515b7401078
Use the new common way to apply markItUp to textareas and to get the smiley and markdown help dialogs for all the remaining apps except for forums and comments.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 27 Nov 2009 00:21:47 +0000 |
parents | 9a8801fa63d5 |
children | 6a5549c2efb5 |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'news/base.html' %} |
gremmie@1 | 2 {% block title %}News: Submit News{% endblock %} |
gremmie@1 | 3 {% if add_form %} |
gremmie@1 | 4 {% block custom_js %} |
gremmie@1 | 5 {{ add_form.media }} |
gremmie@1 | 6 {% endblock %} |
gremmie@1 | 7 {% endif %} |
gremmie@1 | 8 {% block submit-class %}class="active"{% endblock %} |
gremmie@1 | 9 {% block news_content %} |
gremmie@1 | 10 <h3>Submit News</h3> |
gremmie@1 | 11 {% if add_form %} |
gremmie@1 | 12 <form action="." method="post"> |
gremmie@1 | 13 <table> |
gremmie@1 | 14 {{ add_form.as_table }} |
gremmie@1 | 15 <tr><td> </td><td><input type="submit" value="Submit" /> |
bgneal@4 | 16 <a href="{% url news-index_page page=1 %}">Cancel</a></td></tr> |
gremmie@1 | 17 </table> |
gremmie@1 | 18 </form> |
gremmie@1 | 19 {% else %} |
gremmie@1 | 20 <p><strong>Thank you for submitting a news item!</strong></p> |
gremmie@1 | 21 <p>Your news item has been submitted for review to the site staff. Your item may be edited for content, |
gremmie@1 | 22 grammar, or spelling. If there are any problems or questions, you will receive an email or private message. |
gremmie@1 | 23 Thank you for contributing to the site!</p> |
gremmie@1 | 24 {% endif %} |
gremmie@1 | 25 <br /> |
gremmie@1 | 26 {% endblock %} |