index + 1); ?> |
name)); ?> |
permissions?->count() ?? 0); ?>
|
guard('admin')->user()->can('role.edit')): ?>
'components.admin.edit-button','data' => ['href' => route('admin.role.edit', $role->id)]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('admin.edit-button'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.role.edit', $role->id))]); ?>
renderComponent(); ?>
guard('admin')->user()->can('role.delete')): ?>
'components.admin.delete-button','data' => ['id' => $role->id,'onclick' => 'deleteData']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('admin.delete-button'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes(['id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($role->id),'onclick' => 'deleteData']); ?>
renderComponent(); ?>
|
popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
__('Role'),'route' => 'admin.role.create','create' => 'yes','message' => __('No data found!'),'colspan' => '4'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
withName('empty-table'); ?>
shouldRender()): ?>
startComponent($component->resolveView(), $component->data()); ?>
getConstructor()): ?>
except(collect($constructor->getParameters())->map->getName()->all()); ?>
withAttributes([]); ?>
renderComponent(); ?>