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

{% block title %}Modifier Plat{% endblock %}

{% block stylesheets %}
    <link rel="stylesheet" href="{{ asset('css/ControllerVues/edit.css') }}">
{% endblock %}

{% block body %}
    <div class="page-container">
        <h1 class="page-title">Modifier Plat</h1>

        {{ include('plats/_form.html.twig', {'button_label': 'Mettre à jour'}) }}

        <div class="actions">
            <a href="{{ path('app_plats_index') }}">Retour à la liste</a>
        </div>

        {{ include('plats/_delete_form.html.twig') }}
    </div>
{% endblock %}
