{% extends "wagtailadmin/generic/base.html" %}
{% load i18n wagtailadmin_tags %}

{% block main_content %}
    <p>
        {% trans "Pick the two organizers to merge. The one with the lowest ID survives; the other one is deleted after its events have been moved over." %}
    </p>
    <form method="post" novalidate>
        {% csrf_token %}
        {% if form.non_field_errors %}
            <div class="help-block help-critical">{{ form.non_field_errors }}</div>
        {% endif %}
        <ul class="fields">
            {% for field in form.visible_fields %}
                <li>{% formattedfield field %}</li>
            {% endfor %}
        </ul>
        <button type="submit" class="button">{% trans "Continue" %}</button>
    </form>
{% endblock %}

{% block extra_js %}
    {{ block.super }}
    {{ form.media.js }}
{% endblock %}

{% block extra_css %}
    {{ block.super }}
    {{ form.media.css }}
{% endblock %}
