{{ $pageTitle ?? trans('messages.list') }}
{{ Form::open(['route' => 'permission.store','method' => 'post']) }}
@foreach($permission as $key => $data)
@foreach($roles as $role) @endforeach @foreach($data->subpermission as $p) @foreach($roles as $role) @endforeach @endforeach
{{ trans('messages.name') }}{{ ucwords(str_replace('_',' ',$role->name)) }}
{{ $p->name }} name)) ? 'checked' : '' }} @if($role->is_hidden) disabled @endif >
@endforeach
{{ Form::close() }}
@section('bottom_script') @endsection