moved answer thing to the bottom
This commit is contained in:
parent
e22dd08f75
commit
72140be316
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue