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

25 lines
1016 B
Plaintext

- content_for :title
= Conference.model_name.human(count: 2).mb_chars.capitalize
.row
.col-lg-12
.panel.panel-primary
.panel-heading
h1.panel-title = Conference.model_name.human(count: 2).mb_chars.capitalize
.panel-body
table.table.table-striped.table-hover.record-table#conferences
thead
tr
th = Conference.human_attribute_name :title
th.hidden-xs.hidden-sm = Conference.human_attribute_name :start_date
th.hidden-xs.hidden-sm = Conference.human_attribute_name :end_date
th.action = Conference.human_attribute_name :call_for_papers_open
th = Conference.human_attribute_name :submissions
th.actions
tbody
= render @conferences
.panel-footer
.text-right
= link_to new_management_conference_path, class: 'btn btn-primary'
=> icon 'plus', t('actions.create.button', model: Conference.model_name.human), class: 'fa-fw'