2020-04-16 13:22:03 +00:00
{% extends "backend/base.html" %}
{% load bootstrap4 %}
{% block content %}
< div class = "app-page-title" >
< div class = "page-title-wrapper" >
< div class = "page-title-heading" >
< div class = "page-title-icon" >
< i class = "fa fa-database" >
< / i >
< / div >
< div > Administrator Users - Delete User
< div class = "page-title-subheading" > Delete an administrator from the system
< / div >
< / div >
< / div >
< div class = "page-title-actions" >
< button type = "button" data-toggle = "tooltip" title = "New Administrator" data-placement = "bottom" class = "btn-shadow mr-3 btn btn-success" >
< i class = "fa fa-plus" > < / i > New Administrator
< / button >
< / div >
< / div >
< / div >
< div class = "row" >
< div class = "col-md-12 col-lg-0" >
< div class = "mb-3 card" >
< div class = "card-header-tab card-header-tab-animation card-header" >
< div class = "card-header-title" >
< i class = "header-icon lnr-apartment icon-gradient bg-love-kiss" > < / i >
2020-04-18 13:02:41 +00:00
Deleting {{ object.get_full_name }}
2020-04-16 13:22:03 +00:00
< / div >
< / div >
< div class = "card-body" >
< div class = "tab-content" >
< div class = "tab-pane fade show active" id = "tabs-eg-77" >
< form method = "POST" >
{% csrf_token %}
2020-04-18 13:02:41 +00:00
Are you sure you wish to delete {{ object.get_full_name }}? This will irrevocably delete their account and any associated information. You can also disable the user without deleting their data!
2020-04-16 13:22:03 +00:00
{% buttons %}
< button type = "submit" class = "btn-shadow mr-3 btn btn-success" >
< i class = "fa fa-check" > < / i > Save
< / button >
< a href = "{% url " admins " % } " class = "btn-shadow mr-3 btn btn-danger" >
< i class = "fa fa-times" > < / i > Cancel
< / a >
{% endbuttons %}
< / form >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
{% endblock %}