{% extends "wagtailadmin/base.html" %} {% load i18n %} {% load l10n %} {% load wagtailadmin_tags wagtailimages_tags static %} {% block titletag %} {% blocktranslate trimmed with title=page.get_admin_display_title %} Import CAP Alert {{ title }} {% endblocktranslate %} {% endblock %} {% block extra_css %} {{ block.super }} {% endblock %} {% block content %} {% translate "Import CAP Alert" as header_str %} {% include "wagtailadmin/shared/header.html" with title=header_str icon="upload" %}
{% if form.non_field_errors %}
{% include "wagtailadmin/shared/non_field_errors.html" with form=form %}
{% endif %} {% csrf_token %} {% for field in form %} {% if field.name != "text" and field.name != "load_from" %} {% include "wagtailadmin/shared/field.html" with classname="w-hidden" %} {% else %} {% include "wagtailadmin/shared/field.html" %} {% endif %} {% endfor %}
{% endblock %} {% block extra_js %} {{ block.super }} {% endblock %}