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

<form action="" method="post">
    {% csrf_token %}
    {% include "sentry/partial/form_base.html" %}

    <fieldset class="form-actions">
        <button type="submit" class="btn btn-primary" name="action_save">{% if submit_label %}{{ submit_label }}{% else %}{% trans "Save Changes" %}{% endif %}</button>
        {% if plugin.is_testable %}
        <button type="submit" class="btn" name="action_test" {% if not plugin_is_configured %}disabled{% endif %}>{% trans "Test Configuration" %}</button>
        {% endif %}
    </fieldset>
</form>
