{% extends "admin_base.html" %}
{% block content %}
<h1 class="mb-4">Edit Parent Category</h1>

<form method="POST">
    {{ form.hidden_tag() }}
    
    <div class="mb-3">
        {{ form.name.label(class="form-label") }}
        {{ form.name(class="form-control") }}
    </div>
    
    {{ form.submit(class="btn btn-primary") }}
</form>

<a href="{{ url_for('admin_blueprint.manage_tour_categories') }}" class="btn btn-secondary mt-3">Back to Categories</a>
{% endblock %}