<%= check_box_tag 'selected_articles[]', @article.id.to_s, false, {:id => "checkbox_#{@article.id.to_s}", :onclick => "checkRow('#{@article.id.to_s}')"} %> <%=h @article.name %> <%= @article.origin %> <%=h truncate(@article.article_category.name, 11) if @article.article_category%> <%=h @article.unit %> <%=h truncate(@article.note, 15) %> <%= @article.unit_quantity %> <%= number_to_currency(@article.net_price) %> <%= number_to_percentage(@article.tax) if @article.tax != 0 %> <%= number_to_currency(@article.deposit) if @article.deposit != 0 %> <%= link_to_remote(image_tag('b_edit.png', :size => "16x16", :border => 0, :alt => 'Artikel ändern', :onclick => "checkRow('#{@article.id.to_s}')"), :url => {:action => 'editArticle', :id => @article }, :before => "Element.show('loader')", :success => "Element.hide('loader')") %> <%= link_to_remote(image_tag('b_drop.png', :size => "16x16", :border => 0, :alt => 'Artikel löschen', :onclick => "checkRow('#{@article.id.to_s}')"), :url => { :action => 'destroyArticle', :id => @article }, :confirm => 'Bist du sicher?', :before => "Element.show('loader')", :success => "Element.hide('loader')")%>