aboutsummaryrefslogtreecommitdiff
path: root/templates/admin_ldap.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin_ldap.html')
-rw-r--r--templates/admin_ldap.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/admin_ldap.html b/templates/admin_ldap.html
index 3ceed7d..193f4e6 100644
--- a/templates/admin_ldap.html
+++ b/templates/admin_ldap.html
@@ -190,6 +190,22 @@
</div>
{{end}}
+{{if .CanDelete}}
+ <hr class="mt-4">
+ <h5 class="mt-4">Supprimer l'objet</h5>
+ <div class="alert alert-danger">
+ Attention, cette opération est irrévocable !
+ </div>
+ <form method="POST" onsubmit="return confirm('Supprimer cet objet DÉFINITIVEMENT ?');">
+ <div class="form-row">
+ <input type="hidden" name="action" value="delete-object" />
+ <div class="col-sm-5"></div>
+ <input type="submit" value="Supprimer l'objet" class="form-control btn btn-danger col-sm-2" />
+ <div class="col-sm-5"></div>
+ </div>
+ </form>
+{{end}}
+
<hr class="mt-4" />
{{end}}