retrospring/app/views/shared/_question.html.haml
2023-10-22 21:04:30 +02:00

4 lines
240 B
Text

- 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)