19 lines
720 B
Plaintext
19 lines
720 B
Plaintext
|
.container.j2-page
|
||
|
/ TODO: make this pretty (it's currently C-c'd straight from shared/_answerbox)
|
||
|
.panel-heading
|
||
|
.media
|
||
|
- unless @question.author_is_anonymous
|
||
|
%a.pull-left{href: show_user_profile_path(@question.user.screen_name)}
|
||
|
%img.img-rounded.img-answerbox{src: gravatar_url(@question.user)}
|
||
|
.media-body
|
||
|
%h6.text-muted.media-heading.answerbox-question-user
|
||
|
= user_screen_name @question.user, @question.author_is_anonymous
|
||
|
asked
|
||
|
= time_ago_in_words(@question.created_at)
|
||
|
ago
|
||
|
%p.answerbox-question-text= @question.content
|
||
|
|
||
|
- @answers.each do |a|
|
||
|
= render 'shared/answerbox', a: a, show_question: false
|
||
|
|