{# This template defines a data_editor macro that is selected within content.py based on the item's content type. It will be passed to the modify.html template. As binary items cannot be edited by moin, the only choice given is to upload a file. #} {% import "forms.html" as forms %} {% macro data_editor(form, item_name) %}
{{ forms.render(form['data_file']) }}
{% endmacro %}