@extends('decorator.console') @section('page-title') {{ trans('userrole.detail.title') }} @stop @section('html-head') @stop @section('page-wrapper')

{{ trans('userrole.detail.heading') }}

{{ trans('userrole.detail.message') }}

@include('common.console.message')
{!! csrf_field() !!}
@if (!empty($userRole->id)) @foreach($listOfPermissionBlock as $permissionBlock)
ALL
@foreach($permissionBlock->listOfPermissionGroup as $permissionGroup)
@foreach($permissionGroup->listOfPermission as $permission) listOfPermission->contains($permission->id)) checked="checked" @endif /> {{ $permission->description }} @endforeach
@endforeach
@endforeach @endif
Done
@include('console.userrole_delete_script') @stop