@csrf

{{ __('Fields marked with * are required') }}

{{ __('Title') }} *
{{ __('Status') }} *

{{ __('Permissions') }}

@foreach($permissions as $item) @php $itemMenu = is_object($item) ? $item->menu : $item['menu']; @endphp
@php $itemPermissions = is_object($item) ? $item->permissions : $item['permissions']; @endphp @foreach ($itemPermissions as $per) @php $id = is_object($per) ? $per->id : $per['id']; $permissionName = is_object($per) ? $per->permission : $per['permission']; @endphp
@endforeach
@endforeach
{{ __('Update') }} {{ __('Cancel') }}