Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_delete_form.html.haml « applications « doorkeeper « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 77b7a50338c7ae029da39124137b6e23b275c2a4 (plain)
1
2
3
4
5
6
7
8
9
10
- 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')
      = sprite_icon('remove')
  - else
    = submit_tag _('Destroy'), data: { confirm: _("Are you sure?") }, class: submit_btn_css