Retrospring/app/views/shared/_question.html.haml

5 lines
240 B
Plaintext

- type ||= nil
.card.questionbox{ data: { id: q.id } }
.card-body{ data: { controller: q.long? ? "collapse" : nil } }
= render QuestionComponent.new(question: q, hide_avatar: type == "discover" ? false : true, profile_question: true)