From 25e778bebb1804aeaf0d7716119bcbfbe967e8b2 Mon Sep 17 00:00:00 2001
From: etienne
Date: Thu, 3 Dec 2009 20:14:54 +0000
Subject: Add tinyMCE editor for description
---
templates/base.html | 1 +
templates/create.html | 5 +++++
templates/edit.html | 16 +++++++++++++---
3 files changed, 19 insertions(+), 3 deletions(-)
(limited to 'templates')
diff --git a/templates/base.html b/templates/base.html
index ff30024..b66a341 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -4,6 +4,7 @@
{% block title %}Papillon{% endblock %}
+ {% block fullscript %}{% endblock %}
diff --git a/templates/create.html b/templates/create.html
index 0b779db..7c3d2b3 100644
--- a/templates/create.html
+++ b/templates/create.html
@@ -2,6 +2,11 @@
{% load i18n %}
{% load markup %}
+{% block fullscript %}
+ {{ form.media }}
+{% endblock %}
+
+
{% block content %}
{% trans "New poll" %}
|
http://{{root_url}}poll/{{poll.admin_url}}
- | {% trans "Address to modify the current poll" %} |
+
+
+ {% trans "Address to modify the current poll" %}
+ |
{% for field in form %}
{% if field.is_hidden %}
--
cgit v1.2.3