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

_delete_form.html.haml « authorized_applications « doorkeeper « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 76a805d4d1b4167e2b2bd0bdd3d321b82833e6c0 (plain)
1
2
3
4
5
6
7
8
9
- if defined?(token)
  - path = oauth_authorized_application_path(0, token_id: token)
- else
  - path = oauth_authorized_application_path(application)

= form_tag path do
  %input{ :name => "_method", :type => "hidden", :value => "delete" }/
  = render Pajamas::ButtonComponent.new(type: :submit, variant: :danger, size: :small, button_options: { aria: { label: s_('AuthorizedApplication|Revoke application') }, data: { confirm: s_('AuthorizedApplication|Are you sure you want to revoke this application?'), confirm_btn_variant: 'danger' } }) do
    = _('Revoke')