{%- extends 'baseModal.html' -%} {%- include 'uiMacros.html' -%} {%- include 'formMacros.html' -%} {%- include 'permissionsMacros.html' -%} {%- block modalClass -%} apos-edit-page-settings apos-ui-modal-no-sidebar apos-ui-modal-has-tabs {%- endblock-%} {%- block modalControls -%} {{ renderProgressBtn({dataAttrs: 'data-save', float: 'right', color: 'base', label: 'Save'}) }} {{ renderProgressBtn({dataAttrs: 'data-cancel', float: 'left', label: 'Cancel'}) }} {%- endblock -%} {%- block modalLabel -%} {{ __('Edit Page') }} {%- endblock -%} {%- block modalBody -%}
{{ formText('title', 'Title') }} {# JS will populate it #}
Settings
Permissions
{{ formText('slug', 'Slug') }} {{ formSelect('type', 'Type', []) }} {{ formBoolean('published', 'Published') }} {{ formBoolean('notOrphan', 'Show in Navigation') }} {%- block slug -%} {%- endblock -%} {{ formText('seoDescription', 'SEO Description', { limit: 155 }) }} {{ formTags('tags', 'Tags') }}
{# Must contain the entirety of the permissions editor for js. -Tom #}
{%- block permissionsEditor -%} {{ permissionsEditor({ propagate: true, workflow: workflow }) }} {%- endblock -%}
{%- endblock -%}