@foreach($roles as $role) has($name)) class="neg" @endif @if(old($name . '.' . $role->name) || (!old('name') && isset($model) && $model->hasRole($role->name))) checked="checked" @endif > {{ $role->display_name }} @endforeach @if($errors->has($name))