@inject('permission_helper', 'App\Helpers\PermissionHelper') @inject('permission_helper', 'App\Helpers\PermissionHelper') @php $selected = $permission_helper->selected($model->permissions) @endphp @php $permission_helper->getGroups() @endphp @include('admin.layouts.components.forms.input', [ 'label' => __('form.name'), 'type' => 'text', 'name' => 'name', 'required' => true, ])