view gpp/templates/weblinks/add_link.html @ 209:0e7c7231dea9

Fix #75; weblinks should have an <a> tag for search engines.
author Brian Neal <bgneal@gmail.com>
date Wed, 05 May 2010 03:24:14 +0000
parents 6a5549c2efb5
children daa2916f5b34
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">{% csrf_token %}
   <table>
      {{ add_form.as_table }}
      <tr><td>&nbsp;</td><td><input type="submit" value="Add Link" />
         &nbsp;<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 %}