view 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
line wrap: on
line source
{% extends 'admin/base_site.html' %}
{% load adminmedia %}
{% block title %}The Madeira | Mailing List Email Form{% endblock %}
{% block extrastyle %}
<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
{% endblock %}
{% block bodyclass %}change-form{% endblock %}
{% block breadcrumbs %}
<div class="breadcrumbs">
   <a href="/admin">Home</a>
</div>
{% endblock %}
{% block content %}
<h1>Madeira Mailing List Email Form</h1>
<div id="content-main">
<p>Use this form to send an email to all subscribers of the The Madeira mailing list.</p>
<form method="post" action="{{ request.build_absolute_uri }}">{% csrf_token %}
<div>
<fieldset class="module aligned">
      {% for field in form %}
      <div class="form-row {% if field.field.required %}required{% endif %} {% if field.errors %}errors{% endif %}">
         {% if field.errors %}{{ field.errors }}{% endif %}
         {{ field.label_tag }}
         {{ field }}
         </div>
      {% endfor %}
</fieldset>
<div class="submit-row">
   <input type="submit" name="Send" value="Send" class="default" />
</div>
</div>
</form>
</div>
{% endblock %}