{% 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 %} {{ buttons.minor('Cancel', { action: 'cancel' }) }} {{ buttons.major('Save', { action: 'save' }) }} {% endblock %} {% block label %} {% if data.verb == 'update' %} Page Settings {% elif data.verb == 'insert' %} New Page {% endif %} {% endblock %} {% block instructions %} {% if data.verb == 'update' %} Change the settings of the page you're currently on. {% 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 %}