Use btn-danger for delete button.

This commit is contained in:
Connor Shea 2016-07-01 14:01:54 -06:00
parent 443fdff1b4
commit 226bc5873a
No known key found for this signature in database
GPG Key ID: E52237E5B35A83E6
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
= link_to edit_snippet_path(@snippet), class: "btn btn-grouped snippable-edit" do
Edit
- if can?(current_user, :admin_personal_snippet, @snippet)
= link_to snippet_path(@snippet), method: :delete, data: { confirm: "Are you sure?" }, class: "btn btn-grouped btn-warning", title: 'Delete Snippet' do
= link_to snippet_path(@snippet), method: :delete, data: { confirm: "Are you sure?" }, class: "btn btn-grouped btn-danger", title: 'Delete Snippet' do
Delete
- if current_user
.visible-xs-block.dropdown