* * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ /** * @var $this yii\web\View * @var $model \Da\User\Model\Role */ use Da\User\Helper\AuthHelper; use dosamigos\selectize\SelectizeDropDownList; use yii\helpers\Html; use yii\widgets\ActiveForm; $unassignedItems = Yii::$container->get(AuthHelper::class)->getUnassignedItems($model); ?> false, 'enableAjaxValidation' => true, ] ) ?> field($model, 'name') ?> field($model, 'description') ?> field($model, 'rule') ?> field($model, 'children')->widget(SelectizeDropDownList::class, [ 'items' => $unassignedItems, 'options' => [ 'id' => 'children', 'multiple' => true, ], ]) ?> 'btn btn-success btn-block']) ?>