mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
add collapsed view for single answerbox
This commit is contained in:
parent
ac91b911ab
commit
4961a44d59
1 changed files with 8 additions and 3 deletions
|
@ -49,6 +49,11 @@
|
||||||
.row
|
.row
|
||||||
.col-md-6.col-md-offset-6.col-sm-8.col-sm-offset-4.col-xs-6.col-xs-offset-6.text-right
|
.col-md-6.col-md-offset-6.col-sm-8.col-sm-offset-4.col-xs-6.col-xs-offset-6.text-right
|
||||||
= render 'shared/answerbox_buttons', a: a
|
= render 'shared/answerbox_buttons', a: a
|
||||||
|
-if @display_all.nil?
|
||||||
.panel-footer{id: "ab-comments-section-#{a.id}", style: 'display: none'}
|
.panel-footer{id: "ab-comments-section-#{a.id}", style: 'display: none'}
|
||||||
%div{id: "ab-smiles-#{a.id}"}= render 'shared/smiles', a: a
|
%div{id: "ab-smiles-#{a.id}"}= render 'shared/smiles', a: a
|
||||||
%div{id: "ab-comments-#{a.id}"}= render 'shared/comments', a: a
|
%div{id: "ab-comments-#{a.id}"}= render 'shared/comments', a: a
|
||||||
|
- else
|
||||||
|
.panel-footer{id: "ab-comments-section-#{a.id}"}
|
||||||
|
%div{id: "ab-smiles-#{a.id}"}= render 'shared/smiles', a: a
|
||||||
|
%div{id: "ab-comments-#{a.id}"}= render 'shared/comments', a: a
|
Loading…
Reference in a new issue