comparison 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
comparison
equal deleted inserted replaced
1238:be94a085972d 1241:95abf895be4f
1 {% import "forms.html" as forms %} 1 {% import "forms.html" as forms %}
2 {% extends theme("layout.html") %} 2 {% extends theme("layout.html") %}
3
4 {% set title = _("Modifying %(item_name)s", item_name=item_name) %}
5
3 {% block content %} 6 {% block content %}
4 <h1>{{ _("Modifying %(item_name)s", item_name=item_name) }}</h1> 7 <h1>{{ title }}</h1>
5 <div class="moin-form"> 8 <div class="moin-form">
6 {{ gen.form.open(form, method='post', action='', enctype='multipart/form-data') }} 9 {{ gen.form.open(form, method='post', action='', enctype='multipart/form-data') }}
7 {{ forms.render_errors(form) }} 10 {{ forms.render_errors(form) }}
8 {% block extra_form %}{% endblock %} 11 {% block extra_form %}{% endblock %}
9 {% block data_editor %}{% endblock %} 12 {% block data_editor %}{% endblock %}