diff mysite/templates/admin/band/email.html @ 26:efb2da0b5d10

Merging the django1.3 branch into trunk.
author Brian Neal <bgneal@gmail.com>
date Wed, 30 Mar 2011 00:16:32 +0000
parents 0dcfcdf50c62
children
line wrap: on
line diff
--- a/mysite/templates/admin/band/email.html	Sun Mar 20 19:53:35 2011 +0000
+++ b/mysite/templates/admin/band/email.html	Wed Mar 30 00:16:32 2011 +0000
@@ -1,7 +1,8 @@
 {% 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="{{ MEDIA_URL }}django/css/forms.css" />
+<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
 {% endblock %}
 {% block bodyclass %}change-form{% endblock %}
 {% block breadcrumbs %}
@@ -13,7 +14,7 @@
 <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 }}">
+<form method="post" action="{{ request.build_absolute_uri }}">{% csrf_token %}
 <div>
 <fieldset class="module aligned">
       {% for field in form %}