rubycentral/cfp-app

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

Summary

Maintainability
Test Coverage
= f.input :program_session_id, collection: time_slot.unscheduled_program_sessions, include_blank: true,
  input_html: { class: 'available-proposals' }
.selected-session-info
  .session-meta-item
    %strong Title:
    %p.title= time_slot.session_title
  .session-meta-item
    %strong Track:
    %p.track= time_slot.session_track_name
  .session-meta-item
    %strong Presenter:
    %p.speaker= time_slot.session_presenter
  .session-meta-item
    %strong Abstract:
    %p.abstract= time_slot.session_description
  .session-meta-item
    %strong Suggested duration:
    %p.duration= time_slot.session_suggested_duration

%fieldset.supplemental-fields{class: time_slot.supplemental_fields_visibility_css }
  = f.input :title, as: :string
  = f.association :track, as: :select, collection: current_event.tracks, include_blank: true
  = f.input :presenter, as: :string
  = f.input :description, as: :text