{% load crispy_forms_tags %}
{% load i18n %}

<form action="" method="post">
    {% csrf_token %}
    {{ form|as_crispy_errors }}

    {% for field in form %}
        {% include "sentry/partial/_form_field.html" %}
    {% endfor %}

    <fieldset class="form-actions">
        <button type="submit" class="btn btn-primary">{% trans "Save Changes" %}</button>
    </fieldset>
</form>