= f.inputs name: 'Mix' do
  %ol.nested-fields
    - if f.object.new_record?
      %p{style: 'margin-left:10px'}
        %i before you can upload, you must select 'Update Recording'
    - else
      = f.input :ogg_url, :as => :file
      .current_file_holder{style: 'margin-bottom:10px'}
        - unless f.object.nil? || f.object[:ogg_url].nil?
          %a{href: f.object.sign_url(3600, 'ogg'), style: 'padding:0 0 0 20px'} Download OGG
        - unless f.object.nil? || f.object[:mp3_url].nil?
          %a{href: f.object.sign_url(3600, 'mp3'), style: 'padding:0 0 0 20px'} Download MP3

    %div{style: 'display:none'}
      = f.input :should_retry, :as => :hidden, :input_html => {:value => '0' }

    = link_to_remove_association "Delete Mix", f, class: 'button', style: 'margin-left:10px'





