clarion/app/views/management/call_for_participations/_status.html.slim
2015-05-30 17:24:49 +03:00

8 lines
466 B
Plaintext

div id="cfp-status-#{conference.id}"
- if conference.call_for_participation.in_progress?
= link_to management_call_for_participation_path(conference), method: :delete, class: 'btn btn-sm btn-success cfp-toggle', remote: true
= icon 'dot-circle-o', '', class: 'fa-fw'
- else
= link_to management_call_for_participation_path(conference), method: :post, class: 'btn btn-sm btn-warning cfp-toggle', remote: true
= icon 'circle-o', class: 'fa-fw'