Browse Source

Improve prompt message

CLDC-3740-Replace-you-didnt-answer-with-link
Manny Dinssa 4 weeks ago
parent
commit
33ffda3641
  1. 2
      app/models/form/question.rb

2
app/models/form/question.rb

@ -242,7 +242,7 @@ class Form::Question
end
def check_answer_prompt_message
question_text = lowercase_first_letter(check_answer_label.presence) || "this question."
question_text = lowercase_first_letter(error_label.presence || check_answer_label.presence || header.presence || id.humanize) || "this question."
if type == "checkbox" || question_text.end_with?("?")
"Answer #{question_text}"
else

Loading…
Cancel
Save