From 2203aee1d5830626040e1ea43fb20a5239e2db5f Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sat, 15 Aug 2015 01:57:02 +0300 Subject: [PATCH] Fix CFP status for conferences --- .../management/call_for_participations/_status.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/management/call_for_participations/_status.html.slim b/app/views/management/call_for_participations/_status.html.slim index 81263ef..17a109b 100644 --- a/app/views/management/call_for_participations/_status.html.slim +++ b/app/views/management/call_for_participations/_status.html.slim @@ -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'