{% load i18n %}
<form class="form form-vertical"
      method="post"
      {% if form_action %}action="{{ form_action }}"{% endif %}>
    {% csrf_token %}
    {{ form }}
    {% if extra_field %}{{ extra_field }}{% endif %}
    <div class="col-sm-12 d-flex justify-content-end">
        <button class="btn btn-primary me-1 mb-1" type="submit">
            {% if form_submit_label %}
                {{ form_submit_label }}
            {% else %}
                {% translate "Save" %}
            {% endif %}
        </button>
    </div>
</form>
