{!! csrf_field() !!}
@include('form/checkbox', ['name' => 'restricted', 'label' => 'Restrict this page?'])
@foreach($roles as $role) @if(!$model->isA('page')) @endif @endforeach
Role isA('page')) colspan="3" @else colspan="4" @endif>Actions
{{ $role->display_name }} @include('form/restriction-checkbox', ['name'=>'restrictions', 'label' => 'View', 'action' => 'view'])@include('form/restriction-checkbox', ['name'=>'restrictions', 'label' => 'Create', 'action' => 'create'])@include('form/restriction-checkbox', ['name'=>'restrictions', 'label' => 'Update', 'action' => 'update']) @include('form/restriction-checkbox', ['name'=>'restrictions', 'label' => 'Delete', 'action' => 'delete'])