aemo_fr/templates/actions.html

17 lines
702 B
HTML
Raw Normal View History

2024-06-03 16:49:01 +02:00
<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>