Remove superfluous hiding span for answerbox actions
This commit is contained in:
parent
b0799f07cd
commit
0380f7fcab
|
@ -1,5 +1,4 @@
|
||||||
%span.d-none.d-sm-inline.text-muted
|
%button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile", data: { a_id: a.id, action: current_user&.smiled?(a) ? :unsmile : :smile }, disabled: !user_signed_in? }
|
||||||
%button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile", data: { a_id: a.id, action: current_user&.smiled?(a) ? :unsmile : :smile }, disabled: !user_signed_in? }
|
|
||||||
%i.fa.fa-fw.fa-smile-o
|
%i.fa.fa-fw.fa-smile-o
|
||||||
%span{ id: "ab-smile-count-#{a.id}" }= a.smiles.count
|
%span{ id: "ab-smile-count-#{a.id}" }= a.smiles.count
|
||||||
- unless display_all
|
- unless display_all
|
||||||
|
|
Loading…
Reference in New Issue