Merge pull request #1065 from shyukri/scheduling_default_timezone

Scheduling new conference: use default Time.zone.now instead of the 1…
This commit is contained in:
Henne Vogelsang 2016-06-30 12:43:47 +02:00 committed by GitHub
commit cdaefee323

View file

@ -7,7 +7,7 @@
= f.input :short_title, hint: "A short and unique handle for your conference, using only lower-case letters, numbers and underscores. This will be used to identify your conference in URLs etc. Example: 'froscon2011'",
input_html: { required: 'required' }
= f.inputs 'Scheduling' do
= f.input :timezone, as: :time_zone, hint: 'Please select in what time zone your conference will take place.'
= f.input :timezone, as: :time_zone, default: Time.zone.name, hint: 'Please select in what time zone your conference will take place.'
= f.input :start_date, as: :string, input_html: { id: 'conference-start-datepicker', required: 'required' }
= f.input :end_date, as: :string, input_html: { id: 'conference-end-datepicker', required: 'required' }
= f.actions do