field($model, 'question_id')->widget(Select2::class, [ 'data' => Question::find()->select(['question_body', 'id']) ->where(['!=', 'question_type_id', '1']) ->indexBy('id') ->column(), 'options' => ['placeholder' => 'Выберите проект'], 'pluginOptions' => [ 'allowClear' => false, ], ]) ?> field($model, 'answer_body')->textInput(['maxlength' => true]) ?> field($model, 'answer_flag')->dropDownList( AnswerHelper::answerFlagsList(), [ 'prompt' => 'Выберите' ] ) ?> field($model, 'status')->dropDownList( StatusHelper::statusList(), [ 'prompt' => 'Выберите' ] ) ?>
'btn btn-success']) ?>