{% extends "wagtailadmin/base.html" %}{% load i18n static commentail_tags %} {% block titletag %}{% trans "Import CSV" %}{% endblock %} {% block extra_css %}{{ block.super }}{% endblock %} {% block extra_js %}{{ block.super }}{% endblock %} {% block content %}{% trans "Import CSV" as import_title %}{% include "wagtailadmin/shared/header.html" with title=import_title icon="upload" classname="commentail-admin-heading" %}
{% for error in form.non_field_errors %}- {{ error }}
{% endfor %}
{% for field in form %}{% if field.errors %}- {{ field.label }}: {% for error in field.errors %}{{ error }}{% if not forloop.last %}
{% endif %}{% endfor %}
{% endif %}{% endfor %}
{% trans "Use UTF-8 CSV with comma or semicolon separators and the headers phrase, action, enabled." %}
{% trans "Actions: review or reject. Enabled: 1/0 or true/false." %}
{% trans "New phrases are added; exact existing phrases update their action and enabled state. Other rules remain unchanged. If any row is invalid, nothing is saved." %}
{% trans "Export includes all project rules. Formula-like phrases are prefixed with an apostrophe for spreadsheets; importing restores the original text." %}