diff --git a/backend/modules/questionnaire/views/user-response/_form.php b/backend/modules/questionnaire/views/user-response/_form.php index cba561b..69a82a2 100644 --- a/backend/modules/questionnaire/views/user-response/_form.php +++ b/backend/modules/questionnaire/views/user-response/_form.php @@ -38,12 +38,19 @@ use yii\widgets\ActiveForm; = $form->field($model, 'response_body')->textInput(['maxlength' => true]) ?> - = $form->field($model, 'answer_flag')->dropDownList( - AnswerHelper::answerFlagsList(), - [ - 'prompt' => 'Выберите' - ] - ) ?> + = $form->field($model, 'answer_flag')->dropDownList([ + '0.0' => 'Ошибочный', + '0.1' => '10%', + '0.2' => '20%', + '0.3' => '30%', + '0.4' => '40%', + '0.5' => '50%', + '0.6' => '60%', + '0.7' => '70%', + '0.8' => '80%', + '0.9' => '90%', + '1' => '100%', + ]); ?> = $form->field($model, 'user_questionnaire_uuid')->textInput(['maxlength' => true]) ?> diff --git a/docs/api/main.md b/docs/api/main.md index 9619bcb..c0f728c 100755 --- a/docs/api/main.md +++ b/docs/api/main.md @@ -1083,7 +1083,7 @@ answer_flag