@if ($errors->has('permissions')) {{ $errors->first('permissions') }} @endif @foreach ($categories as $cat_key => $category)
@foreach (cat_Permissions($cat_key) as $perm_key => $permission)
@endforeach
@endforeach