Drop JQuery-UI. Fixes Issue #353 partly

This commit is contained in:
Henne Vogelsang 2014-08-18 09:32:14 +02:00
parent 63366d43a4
commit 45b8c5dd68
9 changed files with 65 additions and 89 deletions

View file

@ -9,6 +9,6 @@
= f.inputs 'Scheduling' do
= f.input :timezone, as: :time_zone, 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.input :end_date, as: :string, input_html: { id: 'conference-end-datepicker', required: 'required' }
= f.actions do
= f.action :submit, button_html: {class: 'btn btn-success pull-right'}

View file

@ -15,8 +15,12 @@
%li.divider
%li
= link_to(admin_conference_index_path()) do
%span.glyphicon.glyphicon-home
Administration
- if Conference.any?
%span.glyphicon.glyphicon-home
Administration
- else
%span.glyphicon.glyphicon-plus
Create Conference
-if @conference and @conference.id and can? :show, @conference
%li
= link_to(admin_conference_path(@conference.short_title)) do