Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
45ced1f5
Commit
45ced1f5
authored
Feb 28, 2022
by
Axel García
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set danger variant and label to destroy oauth app
Changelog: changed
parent
e914429d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/shared/doorkeeper/applications/_delete_form.html.haml
...ews/shared/doorkeeper/applications/_delete_form.html.haml
+2
-2
No files found.
app/views/shared/doorkeeper/applications/_delete_form.html.haml
View file @
45ced1f5
...
...
@@ -2,9 +2,9 @@
=
form_tag
path
do
%input
{
:name
=>
"_method"
,
:type
=>
"hidden"
,
:value
=>
"delete"
}
-
if
defined?
small
=
button_tag
type:
"submit"
,
class:
"gl-button btn btn-danger btn-icon"
,
data:
{
confirm:
_
(
"Are you sure?"
)
}
do
=
button_tag
type:
"submit"
,
class:
"gl-button btn btn-danger btn-icon"
,
data:
{
confirm:
_
(
"Are you sure?"
)
,
confirm_btn_variant:
"danger"
}
do
%span
.sr-only
=
_
(
'Destroy'
)
=
sprite_icon
(
'remove'
)
-
else
=
submit_tag
_
(
'Destroy'
),
data:
{
confirm:
_
(
"Are you sure?"
)
},
class:
submit_btn_css
=
submit_tag
_
(
'Destroy'
),
data:
{
confirm:
_
(
"Are you sure?"
)
,
confirm_btn_variant:
"danger"
},
aria:
{
label:
_
(
'Destroy'
)
},
class:
submit_btn_css
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment