view MoinMoin/templates/modify_applet.html @ 892:79f80ce3cf78 storage-ng

implement parents (key PARENTID), add it to index schema use it for the atom feed (to generate diffs to previous rev). when preparing the metadata to fill into the editor, put the current revid in there as parent (do not use the hidden form field any more).
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 26 Sep 2011 18:49:49 +0200
parents d90782ad8b24
children 95abf895be4f
line wrap: on
line source
{% 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) }}
{% 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 %}