field($model, 'project_id')->widget(Select2::className(), [ 'data' => Project::find()->select(['name', 'id'])->indexBy('id')->column(), 'options' => ['placeholder' => '...','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true ], ] ) ?> field($model, 'card_id')->widget(Select2::className(), [ 'data' => UserCard::find()->select(['fio', 'id'])->indexBy('id')->column(), 'options' => ['placeholder' => '...','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true, 'multiple' => false, ], ] ) ?> field($model, 'project_role_id')->widget(Select2::className(), [ 'data' => ProjectRole::find()->select(['title', 'id'])->indexBy('id')->column(), 'options' => ['placeholder' => '...','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true, 'multiple' => false, ], ] ) ?> field($model, 'status')->dropDownList(ProjectUser::statusList(), [ 'prompt' => 'Выберите' ] ) ?>
'btn btn-success']) ?>