field($model, 'question_type_id')->widget(Select2::class, [ 'data' => QuestionType::find()->select(['question_type', 'id'])->indexBy('id')->column(), 'options' => ['placeholder' => '...','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true ], ] ); ?> field($model, 'questionnaire_id')->widget(Select2::class, [ 'data' => Questionnaire::find()->select(['title', 'id'])->indexBy('id')->column(), 'options' => ['placeholder' => '...','class' => 'form-control'], 'pluginOptions' => [ 'allowClear' => true ], ] ); ?> field($model, 'question_body')->textInput(['maxlength' => true]) ?> field($model, 'question_priority')->textInput() ?> field($model, 'next_question')->textInput() ?> field($model, 'status')->dropDownList( StatusHelper::statusList(), [ 'prompt' => 'Выберите' ] ) ?> field($model, 'time_limit')->widget(TimePicker::class, [ 'name' => 'time_limit_picker', 'pluginOptions' => [ 'showSeconds' => false, 'showMeridian' => false, 'minuteStep' => 1, 'defaultTime' => '' ] ]) ?> field($model, 'score')->textInput(['maxlength' => true]) ?>
'btn btn-success']) ?>