haikal/templates/inventory/car_confirm_delete.html
2025-06-26 12:53:44 +03:00

16 lines
581 B
HTML

<!-- templates/cars/car_confirm_delete.html -->
{% extends 'base.html' %}
{% load i18n %}
{% block title %}Delete Car{% endblock %}
{% block content %}
<div class="mt-4 ms-4">
<h1>Delete Car</h1>
<p class="text-danger">Are you sure you want to delete the car "{{ car }}"?</p>
<form method="post">
{% csrf_token %}
<button type="submit" class="btn btn-phoenix-danger">Confirm Delete</button>
<a href="{% url 'car_detail' request.dealer.slug car.pk %}" class="btn btn-phoenix-secondary">{% trans 'Cancel' %}</a>
</form>
</div>
{% endblock %}