@php $editing = isset($menu) @endphp
{{-- @php $selected = old('plat_1', ($editing ? $menu->plat_1 : '')) @endphp @foreach($dishesViandePoisson as $value => $label) @endforeach @php $selected = old('plat_2', ($editing ? $menu->plat_2 : '')) @endphp @foreach($dishesViandePoisson as $value => $label) @endforeach @php $selected = old('plat_3', ($editing ? $menu->plat_3 : '')) @endphp @foreach($dishesVegetarien as $value => $label) @endforeach @php $selected = old('plat_4', ($editing ? $menu->plat_4 : '')) @endphp @foreach($dishesSalade as $value => $label) @endforeach @php $selected = old('plat_6', ($editing ? $menu->plat_6 : '')) @endphp @foreach($dishesSandwich as $value => $label) @endforeach @php $selected = old('plat_5', ($editing ? $menu->plat_5 : '')) @endphp @foreach($dishesAutres as $value => $label) @endforeach {{ old('description', ($editing ? $menu->description : '')) }}