{% 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 ' + data.label, { action: 'save' }) }} {% endblock %} {% block label %} {{ __(data.label | d('')) }} {% endblock %} {% block body %}
{{ schemas.fields(data.schema) }}
{% endblock %} {% block footerContainer %}{% endblock %}