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

15 lines
374 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
= user_screen_name i.question.user
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