annotate mysite/templates/band/mail.html @ 24:ead7bd49c9e0 django1.3

Changes to support Django 1.3
author Brian Neal <bgneal@gmail.com>
date Tue, 29 Mar 2011 01:51:10 +0000
parents 0dcfcdf50c62
children
rev   line source
bgneal@1 1 {% extends 'band/base.html' %}
bgneal@1 2 {% block title %}The Madeira | Mailing List{% endblock %}
bgneal@1 3 {% block content %}
bgneal@1 4 <h1>Madeira Mailing List</h1>
bgneal@1 5 <p>Get on the Madeira mailing list to receive updates about upcoming shows, releases, and website updates.
bgneal@1 6 This is a low volume list. We do not share your email address with anyone.</p>
bgneal@1 7 <fieldset><legend>Mailing List</legend>
bgneal@24 8 <form method="post" action="{{ request.build_absolute_uri }}">{% csrf_token %}
bgneal@1 9 <table border="0" class="input-form">
bgneal@1 10 {% for field in form %}
bgneal@1 11 <tr>
bgneal@1 12 <th>{{ field.label_tag }}{% if field.field.required %}*{% endif %}:</th>
bgneal@1 13 <td>{{ field }}
bgneal@1 14 {% if field.errors %}{{ field.errors }}{% endif %}</td>
bgneal@1 15 </tr>
bgneal@1 16 {% endfor %}
bgneal@1 17 <tr><td><input type="submit" name="Submit" value="Submit" class="submit-button" /></td></tr>
bgneal@1 18 </table>
bgneal@1 19 </form>
bgneal@1 20 </fieldset>
bgneal@1 21 {% endblock %}