{% include 'lib/alert.twig' %}

<form action="/admin/categories/edit/{{ category.id }}" method="post" class="flex flex-col gap-2">
    {% include 'lib/forms/category.twig' with {
        value: category.value,
        label: category.label,
        parent_id: category.parent_id
    } %}
    {% include 'lib/buttons/submit.twig' with { 
        label: 'Save Category' 
    } %}
</form>
