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

19 lines
453 B
Plaintext

.container.j2-page
= render 'layouts/messages'
.alert.alert-info
.row
.col-md-9.col-sm-8.col-xs-12
Out of questions?
.col-md-3.col-sm-5.col-xs-12
%button.btn.btn-block.btn-info{type: :button, id: 'ib-generate-question'} Get new question
#entries
- @inbox.each do |i|
= render 'inbox/entry', i: i
- if @inbox.empty?
Nothing to see here.
= render "shared/links"
- @inbox.update_all(new: false)