annotate gpp/templates/weblinks/add_link.html @ 2:f3ad863505bf

Got rid of the core.SiteConfig model and all usage.
author Brian Neal <bgneal@gmail.com>
date Sat, 11 Apr 2009 17:57:22 +0000
parents dbd703f7d63a
children 9a8801fa63d5
rev   line source
gremmie@1 1 {% extends 'weblinks/base.html' %}
gremmie@1 2 {% block title %}Web Links: Add Link{% endblock %}
gremmie@1 3 {% block weblinks_content %}
gremmie@1 4 <h3>Add Link</h3>
gremmie@1 5 {% if add_form %}
gremmie@1 6 <form action="." method="post">
gremmie@1 7 <table>
gremmie@1 8 {{ add_form.as_table }}
gremmie@1 9 <tr><td>&nbsp;</td><td><input type="submit" value="Add Link" />
gremmie@1 10 <input type="button" value="Cancel" onclick="history.back(); return true;" /></td></tr>
gremmie@1 11 </table>
gremmie@1 12 </form>
gremmie@1 13 <br />
gremmie@1 14 {% else %}
gremmie@1 15 <p><strong>Thank you for submitting a link!</strong></p>
gremmie@1 16 <p>Your link has been submitted for review to the site staff.</p>
gremmie@1 17 {% endif %}
gremmie@1 18 {% endblock %}