Fix CFP status for conferences

This commit is contained in:
Petko Bordjukov 2015-08-15 01:57:02 +03:00
parent 13d9a50c64
commit 2203aee1d5
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
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
= link_to management_conference_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
= link_to management_conference_call_for_participation_path(conference), method: :post, class: 'btn btn-sm btn-warning cfp-toggle', remote: true
= icon 'circle-o', class: 'fa-fw'