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

19 lines
685 B
Plaintext
Raw Normal View History

.row
2014-09-30 13:47:17 +03:00
.panel.panel-primary
.panel-heading
h3.panel-title
= Event.model_name.human(count: 2)
span.pull-right
= t(:suggestion_and_speaker_count, suggestions: @suggestion_groups.map(&:suggestions).flatten.count, speakers: @suggestion_groups.count)
2014-09-30 13:47:17 +03:00
table.record-table
thead
tr
th.picture = Event.human_attribute_name(:user)
th = Event.human_attribute_name(:title)
th = Event.human_attribute_name(:language)
2014-09-30 13:47:17 +03:00
th = Track.model_name.human
th = Event.human_attribute_name(:type)
th.actions
tbody
= render partial: 'suggestion_group', collection: @suggestion_groups