@csrf
@if ($errors->has('permissions.*'))

{{ $errors->first() }}

@endif
@foreach($permissions as $category)
{{ __('locale.menu.'.$category['title']) }}
@foreach($category['permissions'] as $permission)
@endforeach
@endforeach