rubycentral/cfp-app

View on GitHub
app/views/staff/grids/bulk_time_slots/_form.html.haml

Summary

Maintainability
Test Coverage
= f.input :day, as: :select, collection: 1..event.days, include_blank: false
= f.input :rooms, as: :check_boxes, collection: current_event.rooms.grid_order, wrapper: :vertical_radio_and_checkboxes
= f.input :start_times, as: :string, placeholder: 'ex: 10:00,11:00,13:00'
.form-inline
  = f.input :duration, as: :integer, input_html: {class: 'time-slot-duration'}
  = f.input :session_format, as: :select, collection: session_format_duration_options,
      input_html: {class: 'session-format'}, label: ' '.html_safe