%tr#p_tank{:id => p_tank.id}
  %td= p_tank.name
  %td= p_tank.p_brut_product.name if p_tank.p_brut_product
  %td= p_tank.volume if p_tank.p_brut_product
  %td
    =p_tank.p_product_brut_stocks.sum(:qte) if p_tank.p_brut_product
  
  %td.actions
    = link_to i(:"trash-o"), [:admin, p_tank], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet auteur ? ' } , :remote => true
    = link_to i(:pencil), edit_admin_p_tank_path(p_tank), :remote => true
    = link_to i(:eye), admin_p_tank_path(p_tank)

