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( $model->flags, [ 'prompt' => 'Выберите' ] ) ?> field($model, 'status')->dropDownList( $model->statuses, [ 'prompt' => 'Выберите' ] ) ?>
'btn btn-success']) ?>