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

{% block title %}DrinkType{% endblock %}

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

    <table class="table">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ drink_type.id }}</td>
            </tr>
            <tr>
                <th>CreatedAt</th>
                <td>{{ drink_type.createdAt ? drink_type.createdAt|date('Y-m-d H:i:s') : '' }}</td>
            </tr>
            <tr>
                <th>UpdatedAt</th>
                <td>{{ drink_type.updatedAt ? drink_type.updatedAt|date('Y-m-d H:i:s') : '' }}</td>
            </tr>
            <tr>
                <th>Name</th>
                <td>{{ drink_type.name }}</td>
            </tr>
            <tr>
                <th>Description</th>
                <td>{{ drink_type.description }}</td>
            </tr>
            <tr>
                <th>DesiredStock</th>
                <td>{{ drink_type.desiredStock }}</td>
            </tr>
        </tbody>
    </table>

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

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

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