{% load static i18n wagtailadmin_tags %} {{ ui.label }}
{% for stylesheet in ui.extra_css %}{% endfor %}

{{ ui.label }}

{{ ui.intro }}

{% if result %}

{% if dry_run %}{% trans "Demo ticket validated. Nothing was sent." %}{% else %}{{ ui.success_message }}{% endif %}

{% if dry_run and ui.success_message != default_success_message %}

{{ ui.success_message }}

{% endif %}
{% else %}
{% csrf_token %} {% if form.non_field_errors %}{% endif %}
{{ form.request_type.label }}{{ form.request_type }}{{ form.request_type.errors }}

{{ form.priority }}{{ form.priority.errors }}

{{ form.title }}{% if form.title.help_text %}{{ form.title.help_text }}{% endif %}{{ form.title.errors }}

{{ form.description }}{% if form.description.help_text %}{{ form.description.help_text }}{% endif %}{{ form.description.errors }}

{{ form.screenshot.label }}

{% if ui.screenshot_help %}{{ ui.screenshot_help }}{% else %}{% trans "Add a screenshot of the page where you opened this form, or select a PNG file." %}{% endif %}

{% if form.screenshot.field.required %}

{% trans "A screenshot is required." %}

{% endif %} {{ form.screenshot.errors }}

{% endif %}