{% extends "orga/base.html" %}
{% load bootstrap4 %}
{% load i18n %}

{% block content %}
    <h2>{% translate "Import XML" %}</h2>
    <form method="post" enctype="multipart/form-data">
        {% csrf_token %}
        {% bootstrap_form_errors form %}
        <div class="col-md-9 ml-auto"><p>
            {% blocktranslate trimmed %}
                Submit an XML file here to release a new schedule, containing exactly the sessions
                specified in the XML file. The format is expected to be the same as the XML
                export provided.
            {% endblocktranslate %}
        </p></div>
        {% bootstrap_field form.upload layout='event' %}
        <div class="submit-group"><span></span>
            <div>
                <button type="submit" class="btn btn-lg btn-success">{% translate "Upload" %}</button>
            </div>
        </div>
    </form>
{% endblock %}
