Further changes for Text field should be mandatory for option based questions.
Fix for issue #1725

The question_options field on the Customisable Phase template has the
following changes:
- the 'Text' label has the asterick for required.
- the error message for missing question option now reads
 "You must have at least one option with accompanying text."
- Corrected some Rubocop errors on the files added.
dev
1 parent 124a9cb commit 8b6acb7469e55dee21cae3cc60622b0a3841938b
@John Pinto John Pinto authored on 6 Dec 2018
Showing 4 changed files
View
app/assets/stylesheets/variables/_bold.scss 0 → 100644
View
app/models/concerns/validation_messages.rb
View
app/views/org_admin/question_options/_option_fields.html.erb
View
spec/models/question_spec.rb