= form_for @meeting, :html => { :class => 'form-horizontal' } do |f|
  .form-group
    = f.label :meeting_type_id
    %select#meeting_type_id.form-control{:name => "meeting[meeting_type_id]"}
      - MeetingType.all.each do |type|
        - if @meeting.meeting_type_id == type.id
          %option{:value => "#{type.id}", :selected => ''}
            = type.name
        - else 
          %option{:value => "#{type.id}"}
            = type.name
  .form-group
    = f.label :instructor
    %select#instructor.form-control{:name => "meeting[instructor]"}
      = options_for_select(@inst_for_select, @meeting.instructor.id)
  .form-group
    = f.label :met
    = f.datetime_local_field :met, {:type => "datetime-local", :data => {:format => "MM/dd/yyyy hh:mm PP"}, :class => "form-control"}
  .form-group
    = f.label :comment
    = f.text_field :comment, :class => 'text_field form-control'
  .form-actions
    = f.submit nil, :id => 'submit-btn', :class => 'btn btn-primary'
    = link_to t('.cancel', :default => t("helpers.links.cancel")), meetings_path, :class => 'btn btn-default'

= form_for @meeting, :html => { :class => 'form-horizontal' } do |f|
  .form-group
    = f.label :meeting_type_id
    %select#meeting_type_id.form-control{:name => "meeting[meeting_type_id]"}
      - MeetingType.all.each do |type|
        - if @meeting.meeting_type_id == type.id
          %option{:value => "#{type.id}", :selected => ''}
            = type.name
        - else 
          %option{:value => "#{type.id}"}
            = type.name
  .form-group
    = f.label :instructor
    %select#instructor.form-control{:name => "meeting[instructor]"}
      - if @meeting.instructor.is_a?(Member)
        = options_for_select(@inst_for_select, @meeting.instructor.id)
      - else
        = options_for_select(@inst_for_select)
  .form-group
    = f.label :met
    = f.datetime_local_field :met, {:type => "datetime-local", :data => {:format => "MM/dd/yyyy hh:mm PP"}, :class => "form-control"}
  .form-group
    = f.label :comment
    = f.text_field :comment, :class => 'text_field form-control'
  .form-actions
    = f.submit nil, :id => 'submit-btn', :class => 'btn btn-primary'
    = link_to t('.cancel', :default => t("helpers.links.cancel")), meetings_path, :class => 'btn btn-default'

Fix meeting edit view when there is no instructor
Fix meeting edit view when there is no instructor
