@if($errors->any())
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@if(session()->has('success'))
@endif
@if(!empty($menu->id))
@php
$routelink=route('admin.menu.update',$menu->id);
@endphp
@else
@php
$routelink=route('admin.menu.store');
@endphp
@endif