app/views/answerer/_form.html.haml in ask-0.1.0 vs app/views/answerer/_form.html.haml in ask-0.1.1
- old
+ new
@@ -7,14 +7,12 @@
%p.section.instructions
=question.instructions
-else
=a.hidden_field(:question_id, :value=>question.id)
-if question.name != last_question.name
- %dt
+ %dt{:class => question.required?? 'required' : nil}
=question_label(question, a)
=question_instructions(question)
- -if question.required
- %strong{:style=>"color:red;"} *
-case(question.type.to_sym)
-when :TextQuestion
%dd=a.text_field(:answer)