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

{% block body %}
    <h1>Ürün Grubu Detayı</h1>

    <table>
        <tbody>

            <tr>
                <th>Adı</th>
                <td>{{ productGroup.name }}</td>
            </tr>
        </tbody>
    </table>

    <ul>
        <li>
            <a href="{{ path('productgroup_index') }}">Listeye Geri Dön</a>
        </li>
        <li>
            <a href="{{ path('productgroup_edit', { 'id': productGroup.id }) }}">Düzenle</a>
        </li>
        <li>
            {{ form_start(delete_form) }}
                <input type="submit" onclick="return confirm('Silmek istediğinize emin misiniz?');" value="Sil">
            {{ form_end(delete_form) }}
        </li>
    </ul>
{% endblock %}
