Mercurial > public > madeira
annotate mysite/templates/admin/band/email.html @ 26:efb2da0b5d10
Merging the django1.3 branch into trunk.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 30 Mar 2011 00:16:32 +0000 |
parents | 0dcfcdf50c62 |
children |
rev | line source |
---|---|
bgneal@1 | 1 {% extends 'admin/base_site.html' %} |
bgneal@26 | 2 {% load adminmedia %} |
bgneal@1 | 3 {% block title %}The Madeira | Mailing List Email Form{% endblock %} |
bgneal@1 | 4 {% block extrastyle %} |
bgneal@26 | 5 <link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" /> |
bgneal@1 | 6 {% endblock %} |
bgneal@1 | 7 {% block bodyclass %}change-form{% endblock %} |
bgneal@1 | 8 {% block breadcrumbs %} |
bgneal@1 | 9 <div class="breadcrumbs"> |
bgneal@1 | 10 <a href="/admin">Home</a> |
bgneal@1 | 11 </div> |
bgneal@1 | 12 {% endblock %} |
bgneal@1 | 13 {% block content %} |
bgneal@1 | 14 <h1>Madeira Mailing List Email Form</h1> |
bgneal@1 | 15 <div id="content-main"> |
bgneal@1 | 16 <p>Use this form to send an email to all subscribers of the The Madeira mailing list.</p> |
bgneal@26 | 17 <form method="post" action="{{ request.build_absolute_uri }}">{% csrf_token %} |
bgneal@1 | 18 <div> |
bgneal@1 | 19 <fieldset class="module aligned"> |
bgneal@1 | 20 {% for field in form %} |
bgneal@1 | 21 <div class="form-row {% if field.field.required %}required{% endif %} {% if field.errors %}errors{% endif %}"> |
bgneal@1 | 22 {% if field.errors %}{{ field.errors }}{% endif %} |
bgneal@1 | 23 {{ field.label_tag }} |
bgneal@1 | 24 {{ field }} |
bgneal@1 | 25 </div> |
bgneal@1 | 26 {% endfor %} |
bgneal@1 | 27 </fieldset> |
bgneal@1 | 28 <div class="submit-row"> |
bgneal@1 | 29 <input type="submit" name="Send" value="Send" class="default" /> |
bgneal@1 | 30 </div> |
bgneal@1 | 31 </div> |
bgneal@1 | 32 </form> |
bgneal@1 | 33 </div> |
bgneal@1 | 34 {% endblock %} |