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

14 lines
430 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
.media-left
%img.img-rounded.img-answerbox
.media-body
2014-11-29 14:21:31 -08:00
%h4.media-heading= user_screen_name a.question.user, a.question.author_is_anonymous
2014-11-29 14:18:52 -08:00
%p= 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