47 lines
1.7 KiB
HTML
47 lines
1.7 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block title %}Delete Supplier{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="d-flex justify-content-between align-items-center mb-4">
|
|
<h1 class="h3 mb-0">
|
|
<i class="bi bi-trash me-2"></i>
|
|
Delete Supplier
|
|
</h1>
|
|
<a href="{% url 'inventory:supplier_list' %}" class="btn btn-outline-secondary">
|
|
<i class="bi bi-arrow-left me-2"></i>
|
|
Back to Suppliers
|
|
</a>
|
|
</div>
|
|
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-6">
|
|
<div class="card border-danger">
|
|
<div class="card-header bg-danger text-white">
|
|
<h5 class="card-title mb-0">
|
|
<i class="bi bi-exclamation-triangle me-2"></i>
|
|
Confirm Deletion
|
|
</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<p class="lead">Are you sure you want to delete the supplier <strong>"{{ supplier.name }}"</strong>?</p>
|
|
<p>This action cannot be undone.</p>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
<div class="d-grid gap-2 d-md-flex justify-content-md-end">
|
|
<a href="{% url 'inventory:supplier_list' %}" class="btn btn-secondary me-md-2">
|
|
<i class="bi bi-x-circle me-2"></i>
|
|
Cancel
|
|
</a>
|
|
<button type="submit" class="btn btn-danger">
|
|
<i class="bi bi-trash me-2"></i>
|
|
Delete Supplier
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |