@extends('layouts.app') @section('page-title', __('Permissions')) @section('page-heading', __('Permissions')) @section('breadcrumbs') @stop @section('content') @include('partials.messages')
@csrf
@foreach ($roles as $role) @endforeach @if (count($permissions)) @foreach ($permissions as $permission) @foreach ($roles as $role) @endforeach @endforeach @else @endif
@lang('Name'){{ $role->display_name }}@lang('Action')
{{ $permission->display_name ?: $permission->name }}
hasPermission($permission->name) ? 'checked' : '' }}>
@if ($permission->removable) @endif
@lang('No records found.')
@if (count($permissions))
@endif
@stop