Mercurial > public > sg101
view gpp/templates/weblinks/add_link.html @ 102:e67c4dd98db5
Forums: new topic form sprouts boolean fields for sticky and locking if the user has rights. Implemented the locked logic. Fixed a bug where topics where getting out of order (the view_count was bumping the update_date because of auto_now).
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 16 Sep 2009 02:01:57 +0000 |
parents | 9a8801fa63d5 |
children | 6a5549c2efb5 |
line wrap: on
line source
{% extends 'weblinks/base.html' %} {% block title %}Web Links: Add Link{% endblock %} {% block weblinks_content %} <h3>Add Link</h3> {% if add_form %} <form action="." method="post"> <table> {{ add_form.as_table }} <tr><td> </td><td><input type="submit" value="Add Link" /> <a href="{% url weblinks-main %}">Cancel</a> </td></tr> </table> </form> <br /> {% else %} <p><strong>Thank you for submitting a link!</strong></p> <p>Your link has been submitted for review to the site staff.</p> {% endif %} {% endblock %}