/ Invitation Dialog
#recording-finished-dialog.dialog.recordingFinished-overlay.ftue-overlay.tall{:layout => "dialog", "layout-id" => "recordingFinished"}
  .content-head
    = image_tag "content/recordbutton-off.png", {:height => 20, :width => 20, :class => 'content-icon'}
    %h1 recording finished
  .dialog-inner
    Fill out the fields below and click the "SAVE" button to save this recording to your library. If you do not want to
    keep the recording, click the "DISCARD" button.
    %br/
    %br/
    %form.left.w40.mr20
      .left.w50.mr20
        .field.w100
          %label{:for => "name"} Recording name:
          %br/
          %input#claim-recording-name.w100{:name => "name", :type => "text"}/
      .right.w40.genre-selector
        .field
          / genre box
          %label{:for => "genre"} Genre:
          %br/
          %select{:name => "genre"}
      .field.w100.left{:purpose => "description"}
        %label{:for => "description"} Description:
        %br/
        %textarea#claim-recording-description.w100{:name => "description"}
        -if (Rails.application.config.video_available=="full") || (current_user && current_user.admin)
          .field.left{:purpose => "save_video"}
            %input{:name => "save_video", :type => "checkbox"}/
            %label{:for => "save_video"} Save Video to Computer
          .field.left{:purpose => "upload_to_youtube"}
            %span
              %input{:name => "upload_to_youtube", :type => "checkbox"}/
              %label{:for => "upload_to_youtube"} Upload Video to YouTube
            %span
              = render(:partial => "shared/google_login")
      .field.left{:purpose => "is_public"}
        %input{:checked => "checked", :name => "is_public", :type => "checkbox"}/
        %label{:for => "is_public"} Public Recording
        / <a href="#"><<img src="images/shared/icon_help.png" width="12" height="12" /></a>
    .left.w50.ml30
      Preview Recording:
      
      \#{render "clients/play_controls"}
      %br/
      %br/
    %br{:clear => "left"}/
    %br/
    .right
      %a#discard-session-recording.button-grey{:href => "#"}> DISCARD
      \&nbsp;
      %a#keep-session-recording.button-orange{:href => "#"} SAVE
    %br{:clear => "all"}/