mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add cfp_type to the form partial Refactor Cfps#show to use partials for the different cfp types Modify the rest of the view, where the cfp was used
16 lines
580 B
Text
16 lines
580 B
Text
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1 Call for Papers
|
|
%p.text-muted
|
|
Call for people to submit events to your conference
|
|
.row
|
|
.col-md-8
|
|
%dl.dl-horizontal
|
|
= render "#{@cfp.cfp_type}_cfp"
|
|
.row
|
|
.col-md-12.text-right
|
|
= link_to(edit_admin_conference_program_cfp_path(@conference.short_title, @cfp.id), class: 'btn btn-primary') do
|
|
Edit
|
|
= link_to(admin_conference_program_cfp_path(@conference.short_title, @cfp.id), method: 'delete', class: 'btn btn-danger', data: { confirm: 'Are you sure you want to delete the CfP?' }) do
|
|
Delete
|