{% extends "pretixcontrol/event/base.html" %}
{% load i18n %}
{% load static %}
{% block title %}{% trans "Delete auto check-in rule" %}{% endblock %}
{% block content %}
    <h1>{% trans "Delete auto check-in rule" %}</h1>
    <form action="" method="post" class="form-horizontal">
        {% csrf_token %}
        <p>{% blocktrans %}Are you sure you want to delete the auto check-in rule?{% endblocktrans %}</p>
        <div class="form-group submit-group">
            <a class="btn btn-default btn-cancel" href="{% url "plugins:autocheckin:index" organizer=request.organizer.slug event=request.event.slug %}">
                {% trans "Cancel" %}
            </a>
            <button type="submit" class="btn btn-danger btn-save">
                {% trans "Delete" %}
            </button>
        </div>
    </form>
{% endblock %}