diff MoinMoin/templates/modify_applet.html @ 1241:95abf895be4f

Refactor title code, fixes #147
author Sam Toyer <samATqxcvDOTnet>
date Mon, 16 Jan 2012 20:18:46 +1000
parents 79f80ce3cf78
children ce5454f5edaa
line wrap: on
line diff
--- a/MoinMoin/templates/modify_applet.html	Sat Jan 14 23:33:24 2012 +0100
+++ b/MoinMoin/templates/modify_applet.html	Mon Jan 16 20:18:46 2012 +1000
@@ -1,7 +1,10 @@
 {% import "forms.html" as forms %}
 {% extends theme("layout.html") %}
+
+{% set title = _("Modifying %(item_name)s", item_name=item_name) %}
+
 {% block content %}
-<h1>{{ _("Modifying %(item_name)s", item_name=item_name) }}</h1>
+<h1>{{ title }}</h1>
 <div class="moin-form">
 {{ gen.form.open(form, method='post', action='', enctype='multipart/form-data') }}
 {{ forms.render_errors(form) }}