{{ __('Role') }} | {{ __('Permissions') }} | {{ __('Action') }} |
---|---|---|
{{ $role->name }} |
@php $counter = 0; @endphp
@foreach ($role->permissions()->pluck('name') as $permission)
@if ($counter % 3 === 0 && $counter !== 0)
@elseif ($counter === 0)
@endif
{{ $permission }}
@php
$counter++;
@endphp
@if ($loop->last)
@endif
@endforeach
|
@can('role edit') @endcan @can('role delete') @endcan |