{% extends "pretixcontrol/auth/base.html" %} {% load bootstrap3 %} {% load static %} {% load i18n %} {% block content %} {% if not error %}

{% trans "Authorize an application" %}

{% csrf_token %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% endif %} {% endfor %}

{% blocktrans trimmed with application=application.name %} Do you really want to grant the application {{ application }} access to your pretix account? {% endblocktrans %}

{% blocktrans trimmed with user=request.user %} You are currently logged in as {{ user }}. {% endblocktrans %}

{% trans "The application requires the following permissions:" %}

{% if form.organizers %}

{% trans "Please select the organizer accounts this application should get access to:" %}

{% bootstrap_field form.organizers layout="inline" %} {% endif %} {% bootstrap_form_errors form layout="control" %}

{% blocktrans trimmed %} This application has not been reviewed by the pretix team. Granting access to your pretix account happens at your own risk. {% endblocktrans %}

{% else %}

{% trans "Error:" %} {{ error.error }}

{{ error.description }}

{% endif %} {% endblock %}