{% extends "pretixcontrol/organizers/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block inner %}

{% trans "Team:" %} {{ team.name }} {% trans "Edit" %}

{% trans "Team members" %}

{% csrf_token %} {% for u in team.members.all %} {% endfor %} {% for i in team.invites.all %} {% endfor %}
{% trans "Member" %}
{{ u.email }} {% if u.require_2fa %} {% else %} {% endif %}
{{ i.email }}
{% bootstrap_field add_form.user layout='inline' %}
{% blocktrans trimmed %} To add a new user, you can enter their email address here. If they already have a pretix account, they will immediately be added to the event. Otherwise, they will be sent an email with an invitation. {% endblocktrans %}

{% trans "API tokens" %}

{% csrf_token %} {% for t in team.active_tokens %} {% endfor %}
{% trans "Name" %}
{{ t.name }}
{% bootstrap_field add_token_form.name layout='inline' %}

{% trans "Team history" %}

{% include "pretixcontrol/includes/logs.html" with obj=team %}
{% endblock %}