{!! Form::label('name', 'Role Name', []) !!} {!! Form::text('name', null, array('class'=>'form-control', 'id'=>'name', 'placeholder'=>'Role Name')) !!} {!! APFrmErrHelp::showErrors($errors, 'name') !!}
{!! Form::label('name', 'Assign Permissions', []) !!}
@foreach($permissions as $permission) @endforeach
Name Guard
name,$role->permissions()->pluck('name')->toArray()))?'checked':''}}> {{ $permission->name }} {{ $permission->guard_name }}