{# Gallery -- A base a template for managing a gallery of files and/or images against a document. -------------------------------------------------------------------------------- {%- extends "/gallery.html" -%} -------------------------------------------------------------------------------- #} {%- extends "manage/base.html" -%} {%- import "manhattan/manage/components/boxes.html" as _boxes -%} {%- import "manhattan/manage/components/form.html" as _form -%} {%- block main -%} {%- call _boxes.box() -%}
{# If the HTTP method is CSRF protected then add the current CSRF token as a hidden field to the form. #} {%- if csrf_token -%} {%- endif -%} {%- call _form.buttons() -%} {%- block buttons -%} {{ _form.button('Save') }} {%- endblock -%} {%- endcall -%}
{%- endcall -%} {%- endblock -%}