* * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ use dosamigos\selectize\SelectizeDropDownList; use yii\helpers\Html; use yii\widgets\ActiveForm; /** * @var $this yii\web\View * @var $model Da\User\Model\Permission * @var $unassignedItems string[] */ ?> 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']) ?>