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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
240 B
Plaintext
Raw Normal View History

2020-05-10 01:02:04 -07:00
- type ||= nil
.card.questionbox{ data: { id: q.id } }
2023-01-15 04:06:54 -08:00
.card-body{ data: { controller: q.long? ? "collapse" : nil } }
= render QuestionComponent.new(question: q, hide_avatar: type == "discover" ? false : true, profile_question: true)