comparison mysite/templates/admin/band/email.html @ 24:ead7bd49c9e0 django1.3

Changes to support Django 1.3
author Brian Neal <bgneal@gmail.com>
date Tue, 29 Mar 2011 01:51:10 +0000
parents 0dcfcdf50c62
children
comparison
equal deleted inserted replaced
23:6ad81d6a86bf 24:ead7bd49c9e0
1 {% extends 'admin/base_site.html' %} 1 {% extends 'admin/base_site.html' %}
2 {% load adminmedia %}
2 {% block title %}The Madeira | Mailing List Email Form{% endblock %} 3 {% block title %}The Madeira | Mailing List Email Form{% endblock %}
3 {% block extrastyle %} 4 {% block extrastyle %}
4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}django/css/forms.css" /> 5 <link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
5 {% endblock %} 6 {% endblock %}
6 {% block bodyclass %}change-form{% endblock %} 7 {% block bodyclass %}change-form{% endblock %}
7 {% block breadcrumbs %} 8 {% block breadcrumbs %}
8 <div class="breadcrumbs"> 9 <div class="breadcrumbs">
9 <a href="/admin">Home</a> 10 <a href="/admin">Home</a>
11 {% endblock %} 12 {% endblock %}
12 {% block content %} 13 {% block content %}
13 <h1>Madeira Mailing List Email Form</h1> 14 <h1>Madeira Mailing List Email Form</h1>
14 <div id="content-main"> 15 <div id="content-main">
15 <p>Use this form to send an email to all subscribers of the The Madeira mailing list.</p> 16 <p>Use this form to send an email to all subscribers of the The Madeira mailing list.</p>
16 <form method="post" action="{{ request.build_absolute_uri }}"> 17 <form method="post" action="{{ request.build_absolute_uri }}">{% csrf_token %}
17 <div> 18 <div>
18 <fieldset class="module aligned"> 19 <fieldset class="module aligned">
19 {% for field in form %} 20 {% for field in form %}
20 <div class="form-row {% if field.field.required %}required{% endif %} {% if field.errors %}errors{% endif %}"> 21 <div class="form-row {% if field.field.required %}required{% endif %} {% if field.errors %}errors{% endif %}">
21 {% if field.errors %}{{ field.errors }}{% endif %} 22 {% if field.errors %}{{ field.errors }}{% endif %}