Commit 362e761c authored by Yogi's avatar Yogi Committed by Kushal Pandya

Move to btn-danger for delete button in applications

parent f205ce09
......@@ -2,7 +2,7 @@
= form_tag path do
%input{ :name => "_method", :type => "hidden", :value => "delete" }
- if defined? small
= button_tag type: "submit", class: "gl-button btn btn-default", data: { confirm: _("Are you sure?") } do
= button_tag type: "submit", class: "gl-button btn btn-danger btn-icon", data: { confirm: _("Are you sure?") } do
%span.sr-only
= _('Destroy')
= sprite_icon('remove')
......
......@@ -43,7 +43,7 @@
%div= uri
%td= application.access_tokens.count
%td.gl-display-flex
= link_to edit_application_url.call(application), class: "gl-button btn btn-default gl-mr-2" do
= link_to edit_application_url.call(application), class: "gl-button btn btn-default btn-icon gl-mr-3" do
%span.sr-only
= _('Edit')
= sprite_icon('pencil')
......
---
title: Move to btn-danger for delete button in applications
merge_request: 56088
author: Yogi (@yo)
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment