Source

moin-2.0 / MoinMoin / templates / modify_applet.html

Full commit
{% import "forms.html" as forms %}
{% extends theme("layout.html") %}
{% block content %}
<h1>{{ _("Modifying %(item_name)s", item_name=item_name) }}</h1>
<div class="moin-form">
{{ gen.form.open(form, method='post', action='', enctype='multipart/form-data') }}
{{ forms.render_errors(form) }}
{{ gen.input(form['rev'], type='hidden') }}
{% block extra_form %}{% endblock %}
{% block data_editor %}{% endblock %}
    <dl>
        <dt>
            <label for="data_file">{{ _("Upload file:") }}</label>
         </dt>
         <dd>
            <input type="file" id="data_file" name="data_file" />
        </dd>
    </dl>
<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 %}