debian-mirror-gitlab/app/views/doorkeeper/authorized_applications/_delete_form.html.haml
2021-01-30 21:13:32 +05:30

9 lines
350 B
Text

- 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'), class: 'gl-button btn btn-danger btn-sm', data: { confirm: _('Are you sure?') }