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

{% block title %}KingCategory{% endblock %}

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

    <table class="table">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ king_category.id }}</td>
            </tr>
            <tr>
                <th>Name</th>
                <td>{{ king_category.name }}</td>
            </tr>
            <tr>
                <th>DateCreated</th>
                <td>{{ king_category.dateCreated ? king_category.dateCreated|date('Y-m-d H:i:s') : '' }}</td>
            </tr>
            <tr>
                <th>Picture</th>
                <td>{{ king_category.picture }}</td>
            </tr>
        </tbody>
    </table>

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

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

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