.qi_header
  .right= link_to ic(:plus)+' Ajouter un partenaire', new_admin_partner_path, :class => "btn btn-primary"
  %h1 

    Partenaires
   

.qi_row
  .qi_pannel.qi_plain.padding
    %h1 Liste des urls courtes

    %table.stat_table.table.table-striped.table-hover
      %tr
        %th 
        %th Nom / desc
        %th


      - @partners.each do |partner| 
        %tr
          %td= image_tag partner.image_file.file.large.medium.small
          %td
            = partner.name
            = simple_format partner.description
          %td.actions
            = link_to i(:"trash-o"), [:admin, partner], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer ce partenaire ?' } 
            = link_to i(:pencil), edit_admin_partner_path(partner)
    
