{% extends "pretixpresale/organizers/customer_base.html" %}
{% load i18n %}
{% load icon %}
{% load eventurl %}
{% block title %}{% trans "Delete profile" %}{% endblock %}
{% block inner %}
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">
                {% icon "user" %} <strong>{% trans "Delete profile" %}</strong>
            </h3>
        </div>
        <div class="panel-body">
            <p>
                {% trans "Do you really want to delete the following profile from your account?" %}
            </p>
            <p>
                {{ profile.describe|linebreaksbr }}
            </p>
        </div>
    </div>
    <form method="post">
        {% csrf_token %}
        <div class="row">
            <div class="col-md-4 col-sm-6">
                <a class="btn btn-block btn-default btn-lg"
                   href="{% abseventurl request.organizer "presale:organizer.customer.profiles" %}">
                    {% trans "Go back" %}
                </a>
            </div>
            <div class="col-md-4 col-md-offset-4 col-sm-6">
                <button class="btn btn-block btn-danger btn-lg" type="submit">
                    {% icon "trash" %}
                    {% trans "Delete" %}
                </button>
            </div>
        </div>
    </form>
{% endblock %}
