2014-11-27 02:50:29 -08:00
|
|
|
.panel.panel-default.answer-box{'data-id' => a.id}
|
2014-11-29 14:18:52 -08:00
|
|
|
.panel-heading
|
|
|
|
.media
|
|
|
|
.media-left
|
|
|
|
%img.img-rounded.img-answerbox
|
|
|
|
.media-body
|
2014-11-29 15:23:11 -08:00
|
|
|
%h6.text-muted.media-heading.answerbox-question-user= user_screen_name a.question.user, a.question.author_is_anonymous
|
2014-11-29 14:29:34 -08:00
|
|
|
%p.answerbox-question-text= a.question.content
|
2014-11-27 02:50:29 -08:00
|
|
|
.panel-body
|
|
|
|
%p= a.content
|
|
|
|
%br/
|
2014-11-28 10:23:54 -08:00
|
|
|
- if privileged? a.user
|
2014-11-27 02:50:29 -08:00
|
|
|
%button.btn.btn-danger{name: 'ab-destroy', 'data-a-id' => a.id}
|
|
|
|
Delete
|