From f3947d0fb2dcf2abb1f5a200df183b84716e7275 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 13:16:52 +0100 Subject: more prefix --- src/templates/apps/room/list.html | 9 +++--- src/templates/edit.html | 58 +++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 33 deletions(-) diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html index 199dc89..0bbc842 100644 --- a/src/templates/apps/room/list.html +++ b/src/templates/apps/room/list.html @@ -1,6 +1,8 @@ {% extends "base.html" %} +{% load prefix %} {% load datehumanize %} {% load roomurl %} +{% load prefix %} {% block widgets %} $("#rooms").accordion({ header: 'h3', @@ -23,8 +25,8 @@

Meeting room URL: {{r|roomurl}}

@@ -37,8 +39,7 @@
{% endblock %} \ No newline at end of file diff --git a/src/templates/edit.html b/src/templates/edit.html index f896a52..709be53 100644 --- a/src/templates/edit.html +++ b/src/templates/edit.html @@ -1,32 +1,32 @@ {% extends "base.html" %} +{% load prefix %} {% block content %} - {% block beforeform %} - {% endblock %} -
-
-

{{formtitle}}

- - {% for field in form %} - - - - - {% endfor %} -
- {% if not field.is_hidden %} -
{{ field.label_tag }}
- {% endif %} - {% if field.errors %} -
{{ field.errors }}
- {% endif %} -
-
{{ field }}
-
-
-
-
- - -
-
+{% block beforeform %}{% endblock %} +
+
+

{{formtitle}}

+ + {% for field in form %} + + + + + {% endfor %} +
+ {% if not field.is_hidden %} +
{{ field.label_tag }}
+ {% endif %} + {% if field.errors %} +
{{ field.errors }}
+ {% endif %} +
+
{{ field }}
+
+
+
+
+ + +
+
{% endblock %} \ No newline at end of file -- cgit v1.1