{{ Form::text('name', null, [ 'class' => 'form-control form-control-lg' . ($errors->has('name') ? ' is-invalid' : ''), 'placeholder' => __('Name of the role') ]) }} @if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@foreach($permissions as $permission)
{{ $permission->name }}
@endforeach @if ($errors->has('permissions'))
{{ $errors->first('permissions') }}
@endif