add bootstrap-switch for is_highlight

This commit is contained in:
Stella Rouzi 2014-12-13 21:13:19 +02:00 committed by Stella
parent 2dd326c8b9
commit a845dd5d7d
9 changed files with 45 additions and 12 deletions

View file

@ -16,8 +16,12 @@
include_blank: false, label: 'Session Type'
- else
Event type: #{@event.event_type.title}
%br
%br
%br
= f.label :is_highlight
= f.check_box :is_highlight, class: 'switch-checkbox', data: { size: "small" }
%br
= f.input :difficulty_level, :as => :select, :collection => @conference.difficulty_levels, :include_blank => "(Please select)" if @conference.difficulty_levels.any?
= f.input :require_registration
= f.input :abstract, :input_html => {:rows => 5, :class => "span11"},