23 lines
965 B
Text
23 lines
965 B
Text
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1 Call for Papers
|
|
.row
|
|
.col-md-8
|
|
= semantic_form_for(cfp, url: cfp_form_url(cfp, conference),
|
|
html: { multipart: true }) do |f|
|
|
= f.input :start_date, as: :string,
|
|
input_html: { id: 'registration-period-start-datepicker',
|
|
start_date: conference.start_date,
|
|
end_date: conference.end_date, readonly: 'readonly' }
|
|
= f.input :end_date, as: :string,
|
|
input_html: { id: 'registration-period-end-datepicker',
|
|
readonly: 'readonly' }
|
|
= f.input :cfp_type, as: :select, include_blank: false,
|
|
collection: select_cfp_types(cfp, conference.program),
|
|
label: 'Type', input_html: { class: 'select-help-toggle' }
|
|
= f.input :description, hint: markdown_hint,
|
|
input_html: { rows: 2, data: { provide: 'markdown-editable' } }
|
|
%p.text-right
|
|
= f.action :submit, as: :button,
|
|
button_html: { class: 'btn btn-primary' }
|