app/views/helena/questions/_short_text.html.haml in helena-1.0.0.rc1 vs app/views/helena/questions/_short_text.html.haml in helena-1.0.0.rc2
- old
+ new
@@ -1,7 +1,7 @@
.short_text.form-group{ class: "#{'has-error' if errors[question.code]}" }
%label
- = question.question_text
+ != question.question_text
= ' *' if question.required
= form.simple_fields_for :answers do |answer_form|
= answer_form.text_field question.code, value: answers[question.code], class: 'form-control'
- if errors[question.code]
.help-block.text-danger= errors[question.code]