{{ __('Create New Role') }}
{{-- --}}
{{ __('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') {!! Form::open([ 'method' => 'DELETE', 'route' => ['role.destroy', $role->id], 'id' => 'delete-form-' . $role->id ]) !!} @endcan |