Merge pull request #2354 from Ana06/datepickers
Fix Datepickers in Call for Content
This commit is contained in:
commit
1e5558660f
4 changed files with 45 additions and 105 deletions
|
|
@ -7,15 +7,15 @@
|
|||
.row
|
||||
.col-md-8
|
||||
= semantic_form_for(cfp, url: cfp_form_url(cfp, conference),
|
||||
html: { multipart: true }) do |f|
|
||||
html: { multipart: true,
|
||||
data: { end_conference: conference.end_date.to_s } }) do |f|
|
||||
= f.input :cfp_type, as: :hidden
|
||||
= 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' }
|
||||
input_html: { class: 'form-control',
|
||||
id: 'registration-period-start-datapicker' }
|
||||
= f.input :end_date, as: :string,
|
||||
input_html: { id: 'registration-period-end-datepicker',
|
||||
readonly: 'readonly' }
|
||||
input_html: { class: 'form-control',
|
||||
id: 'registration-period-end-datapicker' }
|
||||
= f.input :description, hint: markdown_hint,
|
||||
input_html: { rows: 2, data: { provide: 'markdown-editable' } }
|
||||
- if cfp.cfp_type == 'events'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue