clarion/app/views/management/events/index.html.slim

22 lines
622 B
Plaintext
Raw Normal View History

2016-10-07 04:42:01 +03:00
- content_for :title
= Event.model_name.human(count: 2).mb_chars.capitalize
2015-07-14 21:00:02 +03:00
.row
2015-10-15 19:06:41 +03:00
h1.page-header
= Event.model_name.human(count: 2).mb_chars.titleize
.row
.panel.panel-default
table.table
thead
tr
th = Event.human_attribute_name(:title)
th = Event.human_attribute_name(:user)
th = Event.human_attribute_name(:language)
th = Track.model_name.human
th = Event.human_attribute_name(:type)
th.action
= Event.human_attribute_name(:status)
th.actions
tbody
= render partial: 'event', collection: @events