{% extends "pretixpresale/event/base.html" %}
{% load i18n %}
{% load classname %}
{% load eventurl %}
{% load money %}
{% block title %}{% blocktrans trimmed with code=order.code %}
    Change order: {{ code }}
{% endblocktrans %}{% endblock %}
{% block content %}
    <h2>
        {% blocktrans trimmed with code=order.code %}
            Change order: {{ code }}
        {% endblocktrans %}
    </h2>

    <form method="post" class="form-horizontal" href="">
        {% csrf_token %}

        <p>{% trans "Please confirm the following changes to your order." %}</p>
        {% include "pretixpresale/event/fragment_change_confirm.html" %}
        <div class="row checkout-button-row">
            <div class="col-md-4">
                <a class="btn btn-block btn-default btn-lg"
                   href="{% eventurl request.event "presale:event.order.change" secret=order.secret order=order.code %}">
                    {% trans "Back" %}
                </a>
            </div>
            <div class="col-md-4 col-md-offset-4">
                <button class="btn btn-block btn-primary btn-lg" type="submit" name="confirm" value="true">
                    {% trans "Perform changes" %}
                </button>
            </div>
            <div class="clearfix"></div>
        </div>
    </form>
{% endblock %}
