@extends('admin.layout.index') @push('css-head') @endpush @section('content')
@if (count($errors) > 0) @endif {!!Form::model($role,['method'=>'PETCH','url'=>['admin/roles/update',$role->id]])!!}

@foreach($permissions as $key=>$row)
id,$rolePermissions)){{'checked'}}@endif>
@if(count($row['childs']) > 0)
@endif
@if(count($row['childs']) > 0)
@foreach($row['childs'] as $child)
id,$rolePermissions)){{'checked'}}@endif>
@endforeach
@endif
@endforeach.
Refresh
{!! Form::close() !!}
@endsection @push('scripts') @endpush