view madeira/templates/email_list/admin_mail.html @ 93:388be986392e

For Django 1.5: The adminmedia template tags library was removed. Doesn't look like I was using it anyway.
author Brian Neal <bgneal@gmail.com>
date Wed, 28 Aug 2013 18:32:57 -0500
parents ac5ad3ec7215
children 67d1d8f643d2
line wrap: on
line source
{% extends "admin/base_site.html" %}
{% block title %}Send mail to mailing list{% endblock %}

{% block extrastyle %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}admin/css/forms.css" />
{% endblock %}

{% block breadcrumbs %}
<div class="breadcrumbs">
   <a href="../../../">Home</a> &rsaquo; <a href="../../">Email List</a> &rsaquo; 
      <a href="../">Subscribers</a> &rsaquo; Send mail
</div>
{% endblock %}

{% block content %}
<div id="content-main">
   <h1>Send mail to the mailing list</h1>
   <p>Use this form to send an email to all subscribers of the Madeira mailing list.</p>
   <form method="post" action=".">{% csrf_token %}
      <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>
   </form>
</div>
{% endblock %}