{% extends "apostrophe-modal:baseSlideable.html" %} {% import "apostrophe-modal:macros.html" as modals %} {% import "apostrophe-schemas:macros.html" as schemas %} {% import 'apostrophe-ui:components/buttons.html' as buttons with context %} {% block controls %} {% if data.verb == 'insert' %} {{ module.createControls() }} {% else %} {{ module.editControls() }} {% endif %} {% endblock %} {% block label %} {% if data.verb == 'update' %} {{ __('Page Settings') }} {% elif data.verb == 'insert' %} {{ __('New Page') }} {% elif data.verb == 'copy' %} {{ __('Copy Page') }} {% endif %} {% endblock %} {% block instructions %} {% if data.verb == 'update' %} {{ __("Change the settings of a page.") }} {% elif data.verb == 'insert' %} {{ __("Set the options for a new page.") }} {% endif %} {% endblock %} {% block body %} {# HEY! DON'T REMOVE THIS DIV! Needed so we can swap page types dynamically. If #} {# this is causing grief for you with sliders or something, fix that to cope. #} {# No going halfsies. -Tom #}
{{ schemas.fields(data.schema) }}
{% endblock %} {% block footerContainer %}{% endblock %}