{% load static i18n %}
{% block head_title %} {% endblock head_title %}
{% csrf_token %} {% if not APP_LOGO and not APP_TITLE %} {% include "paperless-ngx/snippets/svg_logo.html" with extra_attrs="width='300' class='logo mb-4'" %} {% else %} {% if APP_LOGO %}
by Paperless-ngx
{% else %}
{% include "paperless-ngx/snippets/svg_leaf.html" with extra_attrs="width='30' class='mt-2'" %}
{{ APP_TITLE }}
by Paperless-ngx
{% endif %} {% endif %} {% for message in messages %}
{{ message }}
{% endfor %} {% block form_top_content %} {% endblock form_top_content %} {% if form.errors %}
{% for field, errors in form.errors.items %} {% for error in errors %} {{ error }} {% endfor %} {% endfor %}
{% elif request.GET.sharelink_notfound %}
{% translate "Share link was not found." %}
{% elif request.GET.sharelink_expired %}
{% translate "Share link has expired." %}
{% endif %} {% block form_content %} {% endblock form_content %}
{% block after_form_content %} {% endblock after_form_content %}