aemo_fr/templates/actions.html

17 lines
702 B
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>