view mysite/templates/admin/band/email.html @ 30:e492aa7c70de

Updating home page; adding Sandstorm video from Sound of the Surf.
author Brian Neal <bgneal@gmail.com>
date Mon, 25 Apr 2011 22:53:45 +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 %}