field($model, 'question_id')->widget(Select2::class, [ 'data' => \yii\helpers\ArrayHelper::map(\common\models\Question::find()->where(['!=', 'question_type_id', '1'])->all(), 'id', 'question_body'), 'pluginOptions' => [ 'allowClear' => true ], ]) ?> field($model, 'answer_body')->textInput(['maxlength' => true]) ?> field($model, 'answer_flag')->dropDownList( \common\helpers\AnswerHelper::answerFlagsList(), [ 'prompt' => 'Выберите' ] ) ?> field($model, 'status')->dropDownList( \common\helpers\StatusHelper::statusList(), [ 'prompt' => 'Выберите' ] ) ?>
'btn btn-success']) ?>