osem-fcy/app/views/admin/cfps/_form.html.haml
2016-06-20 15:07:12 +02:00

11 lines
619 B
Text

.row
.col-md-12
.page-header
%h1 Call for Papers
.row
.col-md-8
= semantic_form_for(@cfp, url: admin_conference_program_cfp_path(@conference.short_title),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" }
%p.text-right
= f.action :submit, as: :button, button_html: { class: "btn btn-primary" }