view 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 source
{% import "forms.html" as forms %}
{% extends theme("layout.html") %}

{% set title = _("Modifying %(item_name)s", item_name=item_name) %}

{% block content %}
<h1>{{ title }}</h1>
<div class="moin-form">
{{ gen.form.open(form, method='post', action='', enctype='multipart/form-data') }}
{{ forms.render_errors(form) }}
{% block extra_form %}{% endblock %}
{% block data_editor %}{% endblock %}
{{ forms.render_field(gen, form['data_file'], 'file') }}
<pre>{{ help }}</pre>
{{ gen.textarea(form['meta_text'], lang='en', dir='ltr', rows=rows_meta, cols=cols) }}
<br />
{{ forms.render_errors(form['meta_text']) }}
{{ gen.form.close() }}
</div>
{% endblock %}