Retrospring/app/views/inbox/show.html.haml

17 lines
452 B
Plaintext
Raw Normal View History

2014-11-11 09:02:59 -08:00
.container.j2-page
2014-11-10 22:10:41 -08:00
- @inbox.each do |i|
2014-11-11 09:02:59 -08:00
.panel.inbox-box{'data-id' => i.id}
%p
%strong
2014-11-11 09:09:28 -08:00
= user_screen_name i.question.user, i.question.author_is_anonymous
2014-11-11 09:02:59 -08:00
asked:
%p
%strong
= i.question.content
%textarea{name: 'ib-answer', 'data-id' => i.id}
%br/
%button.btn.btn-success{name: 'ib-answer', 'data-ib-id' => i.id}
Answer
2014-11-11 10:53:35 -08:00
- if @inbox.empty?
Nothing to see here.