diff --git a/app/views/question/show.html.haml b/app/views/question/show.html.haml index 4c360262..92ade27f 100644 --- a/app/views/question/show.html.haml +++ b/app/views/question/show.html.haml @@ -14,6 +14,9 @@ ago %p.answerbox--question-text= @question.content + - @answers.each do |a| + = render 'shared/answerbox', a: a, show_question: false + - if user_signed_in? and !current_user.answered? @question .panel.panel-default#q-answer-box .panel-heading @@ -27,8 +30,4 @@ %label %input{type: 'checkbox', name: 'share', checked: :checked, data: { q_id: @question.id, service: service.provider }} Post to - = service.provider.capitalize - - - @answers.each do |a| - = render 'shared/answerbox', a: a, show_question: false - + = service.provider.capitalize \ No newline at end of file