moved answer thing to the bottom

This commit is contained in:
nilsding 2015-01-03 19:02:06 +01:00
parent e22dd08f75
commit 72140be316
1 changed files with 4 additions and 5 deletions

View File

@ -14,6 +14,9 @@
ago ago
%p.answerbox--question-text= @question.content %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 - if user_signed_in? and !current_user.answered? @question
.panel.panel-default#q-answer-box .panel.panel-default#q-answer-box
.panel-heading .panel-heading
@ -27,8 +30,4 @@
%label %label
%input{type: 'checkbox', name: 'share', checked: :checked, data: { q_id: @question.id, service: service.provider }} %input{type: 'checkbox', name: 'share', checked: :checked, data: { q_id: @question.id, service: service.provider }}
Post to Post to
= service.provider.capitalize = service.provider.capitalize
- @answers.each do |a|
= render 'shared/answerbox', a: a, show_question: false