2014-11-25 10:47:18 +01:00
.row
.col-md-12
.page-header
%h1 Call for Papers
%p.text-muted
Call for people to submit events to your conference
2015-10-25 13:29:02 +02:00
- if @cfp
2014-11-25 10:47:18 +01:00
.row
.col-md-8
%dl.dl-horizontal
%dt
Start Date:
%dd#start_date
2015-10-25 13:29:02 +02:00
= @cfp.start_date.strftime('%A, %B %-d. %Y')
2014-11-25 10:47:18 +01:00
%dt
2015-06-16 21:26:15 -07:00
End Date:
2014-11-25 10:47:18 +01:00
%dd#end_date
2015-10-25 13:29:02 +02:00
= @cfp.end_date.strftime('%A, %B %-d. %Y')
2014-11-25 10:47:18 +01:00
%dt
Days Left:
%dd
2015-10-25 13:29:02 +02:00
= pluralize(@cfp.remaining_days, 'day')
2014-11-25 10:47:18 +01:00
%dt
Event types:
%dd
= event_types(@conference)
%dt
Tracks:
%dd
= tracks(@conference)
%dt
Public Schedule
%dd#schedule_public
2015-10-25 13:29:02 +02:00
- if @program.schedule_public
2014-11-25 10:47:18 +01:00
Yes
- else
No
%dt
Schedule changeable?
%dd#schedule_changes
2015-10-25 13:29:02 +02:00
- if @program.schedule_fluid
2014-11-25 10:47:18 +01:00
Yes
- else
No
%dt
Rating Levels
%dd#rating
2015-10-25 13:29:02 +02:00
= @program.rating
2014-11-25 10:47:18 +01:00
.row
.col-md-12.text-right
2015-10-25 13:29:02 +02:00
= link_to(edit_admin_conference_program_cfp_path(@conference.short_title), class: 'btn btn-primary') do
2014-11-25 10:47:18 +01:00
Edit
2015-10-25 13:29:02 +02:00
= link_to(admin_conference_program_cfp_path(@conference.short_title), method: 'delete', class: 'btn btn-danger', data: { confirm: 'Are you sure you want to delete the CfP?' }) do
2014-11-25 10:47:18 +01:00
Delete
-else
.row
.col-md-12.text-right
2015-10-25 13:29:02 +02:00
= link_to 'Create Call for Papers', new_admin_conference_program_cfp_path(@conference.short_title), class: 'btn btn-primary'