mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-25 04:26:08 +10:00
11 lines
449 B
Plaintext
11 lines
449 B
Plaintext
- submit_btn_css ||= 'btn btn-link btn-remove btn-sm'
|
|
= form_tag oauth_application_path(application) do
|
|
%input{:name => "_method", :type => "hidden", :value => "delete"}/
|
|
- if defined? small
|
|
= button_tag type: "submit", class: "btn btn-transparent", data: { confirm: "Are you sure?" } do
|
|
%span.sr-only
|
|
Destroy
|
|
= icon('trash')
|
|
- else
|
|
= submit_tag 'Destroy', data: { confirm: "Are you sure?" }, class: submit_btn_css
|