<div id="actions" class="row border-top mt-2">
        {% if form.instance.pk %}
        <div class="col mt-3">
            {% if view.delete_url %}
            <button class="btn btn-sm btn-danger" name="delete" type="button"
                data-confirm="Voulez-vous vraiment supprimer cet objet ?"
                formaction="{{ view.delete_url }}"
                >Supprimer</button>
            {% endif %}
        </div>
        {% endif %}
        <div class="col mt-3 text-end">
            <a class="btn btn-sm btn-secondary" href="javascript: history.go(-1)">Annuler</a>
            <button class="btn btn-sm btn-success" name="save" type="submit">Enregistrer</button>
        </div>
</div>
