{% extends shell('app') %} {% block title %}{{ _('Document settings') if page else _('Add document') }}{% endblock %} {% block content %} {% set heading = _('Document settings') if page else _('Add document') %}

{{ heading }}

{% if page %} ← {{ _('Back to %(title)s', title=page.title) }} {% else %} ← {{ _('Back to legal pages') }} {% endif %}
{% include "legal/admin/_flashes.html" %} {% set title = data.title if 'title' in data else (page.title if page else '') %} {% set slug = data.slug if 'slug' in data else (page.slug if page else '') %} {% set kind = data.kind if 'kind' in data else (page.kind if page else 'other') %} {% set required = data.acceptance_required if 'acceptance_required' in data else (page.acceptance_required if page else False) %}

{{ _('The name in the panel and in the footer. Each version can give its own title per language.') }}

{{ _('The privacy notice lists the services the site sends data to, and the cookie policy the cookies it sets.') }}

{{ _('New accounts accept the version in force, and existing ones are asked before they go on.') }}

{% endblock %}