{% extends "base.html" %}

{% block title %}Confirm Delete{% endblock %}

{% block content %}
<main>
  <div class="header">
    <h1>Delete <span>{{ object.name }}</span></h1>
  </div>

  <div class="login-form-container">
    <form method="post" class="incident-card">
      {% csrf_token %}
      <p>Are you sure you want to delete the brand "{{ object.name }}"?</p>
      <p>All associated incidents will also be deleted. This action cannot be undone.</p>
      
      <div class="card-footer">
        <button type="submit" class="btn btn-danger">Confirm Delete</button>
        <a href="{% url 'brand-list' %}" class="btn btn-secondary">Cancel</a>
      </div>
    </form>
  </div>
</main>
{% endblock %}
