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: 08f2442f02572dbf9771baa69ea0c2acd592775d (plain)
1
2
3
4
5
6
7
8
9
- submit_btn_css ||= 'btn btn-link btn-remove'
- 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" }/
  = submit_tag _('Revoke'), onclick: "return confirm('#{_('Are you sure?')}')", class: 'btn btn-remove btn-sm'