Retrospring/app/views/layouts/inbox.haml

14 lines
380 B
Plaintext

.container-lg.container--main
.row
.col-sm-10.col-md-10.col-lg-9.mx-auto
= render 'inbox/actions', delete_id: @delete_id, disabled: @disabled, inbox_count: @inbox_count
= render 'layouts/messages'
= yield
= render 'shared/links'
:ruby
Inbox.where(id: @inbox.ids).update_all(new: false)
provide(:title, generate_title('Inbox'))
parent_layout 'base'