
%tr#d_product_row.d_product_row{:id => d_product.id, :class => ("warning" if !d_product.enabled)}

 
  %td=d_product.name




  %td.actions
    = link_to i(:"trash-o"), [:admin, d_product], :data => {:confirm => 'Voulez-vous vraiment supprimer cet d_product ?'}, :method => :delete, :remote => true
  
    = link_to i(:pencil), edit_admin_d_product_path(d_product), :style => "padding:0px 0px 0px 0px;", :remote => true
    
    = link_to i(:eye), edit_admin_d_product_path(d_product), :style => "padding:0px 0px 0px 0px;"

