{% extends 'admin_base.html.twig' %}

{% block title %}CategoryPage{% endblock %}

{% block body %}
    <h1>CategoryPage</h1>

    <table class="table">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ category_page.id }}</td>
            </tr>
            <tr>
                <th>Name</th>
                <td>{{ category_page.name }}</td>
            </tr>
            <tr>
                <th>Active</th>
                <td>{{ category_page.active ? 'Yes' : 'No' }}</td>
            </tr>
        </tbody>
    </table>

    <a href="{{ path('category_page_index') }}">back to list</a>

    <a href="{{ path('category_page_edit', {'id': category_page.id}) }}">edit</a>

    {{ include('category_page/_delete_form.html.twig') }}
{% endblock %}
