view mysite/templates/admin/band/email.html @ 88:7245c769e31e django1.3

Close this branch. I'm not sure if I merged it correctly to the default branch, because the graphlog doesn't look right. But the changes were made to default somehow. So closing this off to prevent future confusion.
author Brian Neal <bgneal@gmail.com>
date Sat, 13 Apr 2013 18:08:19 -0500
parents ead7bd49c9e0
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 %}