{% extends theme("layout.html") %} {% import "forms.html" as forms %} {% import "utils.html" as utils %} {% from theme(form.meta_template) import basic_meta_editor %} {% import theme("itemviews.html") as itemviews with context %} {% import theme(form['content_form'].template) as content_template %} {% set extra_head = content_template.extra_head %} {% if content_template.basic_data_editor is defined %} {% set data_editor = content_template.basic_data_editor %} {% else %} {% set data_editor = content_template.data_editor %} {% endif %} {% set title = _("Modifying '{item_name}'").format(item_name=item_name) %} {% block head %} {{ super() }} {% if extra_head %} {{ extra_head() }} {% endif %} {% endblock %} {% block views %} {{ itemviews }} {% endblock %} {% block content %}