{% extends "base.html" %}
{% block content %}

<div class="container mt-4">

    <h3 class="mb-3">Vacate Tenant</h3>

    <div class="card p-3 mb-3">
        <h5>Tenant: {{ tenant.get_full_name }}</h5>
        <p>Unit: {{ unit.unit_number }}</p>
    </div>

    <form method="POST">
        {% csrf_token %}

        <div class="mb-3">
            <label>Notes (Optional)</label>
            <textarea name="notes" class="form-control"></textarea>
        </div>

        <hr>

        <h5>Exit Inspection</h5>

        <div class="mb-3">
            <label>Inspection Notes</label>
            <textarea name="inspection_notes" class="form-control"></textarea>
        </div>

        <div class="mb-3">
            <label>Inspection Image</label>
            <input type="file" name="inspection_image" class="form-control">
        </div>

        <button type="submit" class="btn btn-warning">
            Confirm Vacate
        </button>
    </form>

</div>

{% endblock %}