@if (count($errors) > 0)
@foreach($permissions as $key=>$row)
@if(count($row['childs']) > 0)
@endif
@endforeach.
{!! Form::close() !!}
Whoops! There were some problems with your input.
@endif
{!!Form::model($role,['method'=>'PETCH','url'=>['admin/roles/update',$role->id]])!!}
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
@foreach($permissions as $key=>$row)
id,$rolePermissions)){{'checked'}}@endif>
@if(count($row['childs']) > 0)
@endif
@foreach($row['childs'] as $child)
@endforeach
id,$rolePermissions)){{'checked'}}@endif>
{!! Form::close() !!}