{% extends "sentry/bases/modal.html" %} {% load crispy_forms_tags %} {% load i18n %} {% load sentry_helpers %} {% block title %}{% trans "Member Settings" %} | {{ block.super }}{% endblock %} {% block main %}
{% csrf_token %} {% if form.errors %}
{% trans "Please correct the errors below." %}
{% endif %} {{ form|as_crispy_errors }}
{% if member.get_email %} {{ member.get_email }} {% else %} No email provided {% endif %}
{% if member.is_pending %} Invited {% else %} Active {% endif %}
{{ form.type|as_crispy_field }}
{{ form.has_global_access|as_crispy_field }}

{% trans "Teams" %}

{% for team_id, team_name in form.teams.field.choices %}
{% endfor %}
{% endblock %} {% block content_after %} {% endblock %}