@php $isEdit = isset($menu); @endphp
← Back to menus
@csrf @if ($isEdit) @method('PUT') @endif
{{ $isEdit ? 'Update menu' : 'Create menu' }}