Mercurial > public > sg101
view gpp/templates/weblinks/add_link.html @ 486:7854d75427af
For #233, add a meta description field for news stories. This field will get put in the open graph meta tag for better descriptions when shared on social media sites.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 18 Oct 2011 23:23:42 +0000 |
parents | daa2916f5b34 |
children |
line wrap: on
line source
{% extends 'weblinks/base.html' %} {% load url from future %} {% 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> </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 %}