57 lines
No EOL
2.3 KiB
HTML
57 lines
No EOL
2.3 KiB
HTML
{% 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>
|
|
Deleting {{ object.user.username }}
|
|
</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 %}
|
|
Are you sure you wish to delete {{ object.user.username }}? This will irrevocably delete their account and any associated information. You can also disable the user without deleting their data!
|
|
{% 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 %} |