diff --git a/app/views/articles/_article.html.haml b/app/views/articles/_article.html.haml index ac2679e1..ed22dec0 100644 --- a/app/views/articles/_article.html.haml +++ b/app/views/articles/_article.html.haml @@ -1,4 +1,4 @@ -%tr{class: row_classes(article)} +%tr{class: row_classes(article)}[article] %td= check_box_tag 'selected_articles[]', article.id.to_s, false, {:id => "checkbox_#{article.id}", 'data-ignore-onchange' => true} %td{'data-check-this' => "#checkbox_#{article.id}", :class => 'click-me'}= article.name %td= article.origin @@ -14,6 +14,4 @@ %td= link_to "Bearbeiten", edit_supplier_article_path(@supplier, article), :remote => true, class: 'btn btn-mini' %td= link_to "Löschen", [@supplier, article], - :method => :delete, :confirm => 'Bist du sicher?', :remote => true, class: 'btn btn-mini btn-danger' - - \ No newline at end of file + :method => :delete, :confirm => 'Bist du sicher?', :remote => true, class: 'btn btn-mini btn-danger' \ No newline at end of file