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

19 lines
453 B
Plaintext
Raw Normal View History

2014-11-11 09:02:59 -08:00
.container.j2-page
2014-11-11 11:24:49 -08:00
= render 'layouts/messages'
2014-12-10 10:09:44 -08:00
.alert.alert-info
.row
.col-md-9.col-sm-8.col-xs-12
2014-12-10 10:11:06 -08:00
Out of questions?
2014-12-10 10:14:24 -08:00
.col-md-3.col-sm-5.col-xs-12
%button.btn.btn-block.btn-info{type: :button, id: 'ib-generate-question'} Get new question
2014-12-09 14:37:44 -08:00
2014-12-09 14:21:41 -08:00
#entries
- @inbox.each do |i|
= render 'inbox/entry', i: i
2014-11-11 10:53:35 -08:00
2014-12-09 14:37:44 -08:00
- if @inbox.empty?
2014-11-11 11:24:49 -08:00
2014-12-09 14:37:44 -08:00
Nothing to see here.
2014-11-30 12:08:00 -08:00
= render "shared/links"
- @inbox.update_all(new: false)