Mercurial > public > sg101
view gpp/templates/news/submit_news.html @ 155:ef93dc9f1992
Implement #44 - Add age confirmation to registration form. Also added a password > 6 rule.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 19 Dec 2009 22:20:09 +0000 |
parents | 9a8801fa63d5 |
children | 6a5549c2efb5 |
line wrap: on
line source
{% 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" /> <a href="{% url news-index_page page=1 %}">Cancel</a></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 %}