Initial commit
This commit is contained in:
commit
793bb6a488
182 changed files with 17153 additions and 0 deletions
16
templates/actions.html
Normal file
16
templates/actions.html
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue