<!-- Session Settings Dialog -->
.dialog{:layout => 'dialog', 'layout-id' => 'session-settings', :id => 'session-settings', :width => '600px', :height => '800px'}

  .content-head
    = image_tag "content/icon_settings_lg.png", :width => 18, :height => 18, :class => "content-icon"
    %h1 session properties

  .dialog-inner
    %form{:id => "session-settings-dialog"}

      %input{:type => "hidden", :name => "id", :id => "session-settings-id"}

      .left.mr35
        
        .left.ib
          Genre:
        .right.w75.ib.mb10{:id => "session-settings-genre"}
          = render "genreSelector"
        
        .clearall.left.w25.ib.mb10
          Name:
        .right.w75.ib.mb10
          %input{:type => 'text', :name => "name", :id => "session-settings-name"}
        
        .clearall.left.w25.ib.mb10
          Description:
        .right.w75.ib.mb10
          %textarea.settings-session-description{:rows => 5, :name => "description", :id => "session-settings-description"}
        
        .clearall.left.w25.ib.mb10
          Language:
        .right.w75.ib.mb10
          %select{:name => 'language', :id => 'session-settings-language'}
            - music_session_languages.each do |language|
              %option{:value => "#{language[:id]}"}
                = language[:label]

        .clearall.left.w20.ib.mb10
          Musician Access:
        .right.w75.ib.mb10
          %select{:name => "musician_access", :id => "session-settings-musician-access"}
            %option{:value => "only-rsvp"} Only RSVP musicians may join
            %option{:value => "musicians"} Musicians may join at will
            %option{:value => "musicians-approval"} Musicians may join by approval
        
        .clearall.left.w25.ib.mb10
          Fan Access:
        .right.w75.ib.mb10
          %select{:name => "fan_access", :id => "session-settings-fan-access"}
            //%option{:value => "listen-chat-band"} Fans may listen, chat with the band
            %option{:value => "listen-chat"} Fans may listen, chat with each other
            %option{:value => "no-listen-chat"} Fans may not listen to session
        
        .clearall.left.w25.ib.mb10
          Notation Files:
        .right.w75.ib.mb10
          .w40.left
            .selected-files-section
              %div{:id => "settings-selected-filenames"}
          .right.ib.mb10
            %a.button-orange.btn-select-files SELECT FILES...
            %input.hidden{:type => "file", :id => "session-select-files", :value => "Select Files...", :accept => ".pdf, .png, .jpg, .jpeg, .gif, .xml, .mxl, .txt"}
            .spinner-small.upload-spinner
        
        .clearall.right.mt10
          %a.button-orange{:href => 'https://jamkazam.desk.com', :rel => 'external'} HELP
          %a.button-grey{'layout-action' => "close"} CANCEL
          %a.button-orange{:id => "session-settings-dialog-submit"} UPDATE SETTINGS

        .clearall

        %br/
        %br{:clear => 'all'}/