* * 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\bootstrap\Alert; use yii\helpers\Html; use yii\widgets\ActiveForm; /** @var \yii\web\View $this */ /** @var string[] $availableItems */ /** @var Da\User\Model\Assignment $model */ ?> updated): ?> [ 'class' => 'alert-success', ], 'body' => Yii::t('usuario', 'Assignments have been updated'), ] ) ?> false, 'enableAjaxValidation' => false, ] ) ?> field($model, 'items')->widget( SelectizeDropDownList::class, [ 'items' => $availableItems, 'options' => [ 'id' => 'children', 'multiple' => true, ], ] ) ?> 'btn btn-success btn-block']) ?>