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

14 lines
501 B
Plaintext
Raw Normal View History

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
2014-11-30 05:01:36 -08:00
%a.pull-left{href: '#'}
2014-11-29 14:18:52 -08:00
%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