@extends('admin.layouts.app') @section('title', 'Menu') @section('content')

{{ $menu->exists ? 'Edit menu' : 'Create menu' }}

@csrf @if($menu->exists) @method('PUT') @endif
Use alias main for the public header menu.
@if($errors->any())
{{ $errors->first() }}
@endif
@endsection