.dialog.dialog-overlay-sm.rsvp-dialog{layout: 'dialog', 'layout-id' => 'rsvp-submit-dialog', id: 'rsvp-submit-dialog'}
  .content-head
    = image_tag 'content/icon_checkmark_circle.png', :alt => "", :class => "content-icon", :width => "20", :height => "20"
    %h1 rsvp
  .dialog-inner
    %h2 SESSION
    .session-name
    .scheduled-start
    .schedule-recurrence
    .rsvp-options
      .part
        .slot-instructions Check the box(es) next to the track(s) you want to play in the session:
        .error{:style => 'display:none'}
        .rsvp-instruments

        .comment-instructions Enter a message to the other musicians in the session (optional):
      %textarea.txtComment{rows: '2', placeholder: 'Enter a comment...'}
    .rsvp-confirm.hidden
      %p SUCCESS!
      %br
      %p We recommend that you subscribe to your own personal JamKazam calendar in your favorite calendar app to help you remember this session, as well as other sessions and events to which you RSVP.
      %br
      %p Here is the URL for your calendar:
      =render "clients/calendar"
      .confirm-buttons
        %a#btnClose.button-grey{'layout-action' => 'close'} CLOSE

    .buttons
      .left
        %a#btnHelp.button-grey{:href => 'https://jamkazam.freshdesk.com', :rel => 'external', :target => '_blank'} HELP
      .right
        %a#btnCancel.button-grey{'layout-action' => 'close'} CANCEL
        %a#btnSubmitRsvp.button-orange SUBMIT RSVP