{% extends "pretixcontrol/event/base.html" %}
{% load i18n %}
{% load bootstrap3 %}
{% block title %}
    {% trans "Mark refund as done" %}
{% endblock %}
{% block content %}
    <h1>
        {% trans "Mark refund as done" %}
        <a class="btn btn-link btn-lg"
                href="{% url "control:event.order" event=request.event.slug organizer=request.event.organizer.slug code=order.code %}">
            {% blocktrans trimmed with order=order.code %}
                Back to order {{ order }}
            {% endblocktrans %}
        </a>
    </h1>

    <form method="post" class="form-horizontal" href="">
        {% csrf_token %}
        <p>{% blocktrans trimmed %}
            Do you really want to mark this refund as complete?
        {% endblocktrans %}</p>
        <div class="form-group submit-group">
            <a class="btn btn-default btn-lg"
                    href="{% url "control:event.order" event=request.event.slug organizer=request.event.organizer.slug code=order.code %}">
                {% trans "Cancel" %}
            </a>
            <button class="btn btn-primary btn-save btn-lg" type="submit">
                {% trans "Mark as done" %}
            </button>
            <div class="clearfix"></div>
        </div>
    </form>
{% endblock %}
