Skip to content

Commit

Permalink
Merged fix from 2.1-external
Browse files Browse the repository at this point in the history
  • Loading branch information
martent committed Nov 9, 2016
1 parent 6e9a7d1 commit cc86447
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/views/recommendations/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
%tr
%td= link_to recommendation.name, edit_recommendation_path(recommendation)
%td.terms= recommendation.terms.map(&:name).join(", ")
%td.delete
%a.btn.btn-danger.btn-xs{ href: recommendation, data: { confirm: 'Är du säker?', method: :delete }}
= "Radera"
%td.delete= link_to "Radera", recommendation, class: "btn btn-danger btn-xs", data: { confirm: 'Är du säker?', method: :delete }

%tr
%td{ colspan: 3 }
Expand Down

0 comments on commit cc86447

Please sign in to comment.