%tr#file_tunel_file_row{:id => file_tunel_file.id}
  -tr = {}
  -tr[:file] = capture do
    %td
      -if file_tunel_file.file
        =File.basename file_tunel_file.file.path
        =link_to "Télécharger", download_admin_m_odr_file_path(file_tunel_file.file, :disposition => "attachment")
  
  -tr[:actions] = capture do
    %td.actions
      = link_to i(:"trash-o"), [:admin, file_tunel_file], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet enregistrement ? ' } , :remote => true
      = link_to i(:pencil), edit_admin_file_tunel_file_path(file_tunel_file), :remote => true
      = link_to i(:eye), admin_file_tunel_file_path(file_tunel_file), :remote => true

  
  
  
  =render :partial => "qi/qi_ordered_table_object", :locals => {:tr => tr, :object => file_tunel_file}