annotate mysite/templates/band/mail.html @ 28:a404f93a68d3

Decrease by 2 orders of magnitude the number of queries needed to generate the gigs page for the Madeira.
author Brian Neal <bgneal@gmail.com>
date Thu, 31 Mar 2011 00:14:34 +0000
parents efb2da0b5d10
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@26 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 %}