view mysite/templates/admin/band/email.html @ 33:7d8015de651a

Removed old reference to /media in the admin/base_site.html template for the favicon.
author Brian Neal <bgneal@gmail.com>
date Wed, 02 Nov 2011 01:30:46 +0000
parents efb2da0b5d10
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 %}