tr td = conference.title td.hidden-xs.hidden-sm = l conference.start_date.to_date, format: :long td.hidden-xs.hidden-sm = l conference.end_date.to_date, format: :long td.action - if conference.call_for_papers_open? = link_to cfp_management_conference_path(conference), method: :delete, class: 'btn btn-sm btn-success cfp-toggle', remote: true, onclick: '$(".cfp-toggle").addClass("disabled")' = fa_icon 'dot-circle-o fw' - else = link_to cfp_management_conference_path(conference), method: :post, class: 'btn btn-sm btn-warning cfp-toggle', remote: true, onclick: '$(".cfp-toggle").addClass("disabled")' = fa_icon 'circle-o fw' td = conference.events.count td.actions div.btn-group.btn-group-sm = link_to management_conference_path(conference), title: t('actions.view.button', model: Conference.model_name.human), class: 'btn btn-info' = fa_icon :eye = link_to edit_management_conference_path(conference), title: t('actions.edit.button', model: Conference.model_name.human), class: 'btn btn-primary' = fa_icon :edit = link_to management_conference_path(conference), title: t('actions.destroy.button', model: Conference.model_name.human), class: 'btn btn-danger', method: :delete, data: {confirm: t('actions.are_you_sure')} = fa_icon :trash