view MoinMoin/templates/modify_binary.html @ 1773:7841aa4065a7

macro data_editor needs item_name as parameter so we can use it in all kind of contentypes
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 04 Sep 2012 20:59:09 +0200
parents c32ff2e07e7a
children
line wrap: on
line source
{% import "forms.html" as forms %}

{% macro data_editor(form, item_name) %}
    <dl>
        {{ forms.render(form['data_file']) }}
    </dl>
{% endmacro %}