Mercurial > public > sg101
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpp/templates/news/submit_news.html Mon Apr 06 02:43:12 2009 +0000 @@ -0,0 +1,26 @@ +{% extends 'news/base.html' %} +{% block title %}News: Submit News{% endblock %} +{% if add_form %} + {% block custom_js %} + {{ add_form.media }} + {% endblock %} +{% endif %} +{% block submit-class %}class="active"{% endblock %} +{% block news_content %} +<h3>Submit News</h3> +{% if add_form %} + <form action="." method="post"> + <table> + {{ add_form.as_table }} + <tr><td> </td><td><input type="submit" value="Submit" /> + <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr> + </table> + </form> +{% else %} + <p><strong>Thank you for submitting a news item!</strong></p> + <p>Your news item has been submitted for review to the site staff. Your item may be edited for content, + grammar, or spelling. If there are any problems or questions, you will receive an email or private message. + Thank you for contributing to the site!</p> +{% endif %} +<br /> +{% endblock %}