2015-09-11 14:41:01 +05:30
|
|
|
- if defined?(token)
|
|
|
|
- path = oauth_authorized_application_path(0, token_id: token)
|
|
|
|
- else
|
|
|
|
- path = oauth_authorized_application_path(application)
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2015-09-11 14:41:01 +05:30
|
|
|
= form_tag path do
|
2017-08-17 22:00:37 +05:30
|
|
|
%input{ :name => "_method", :type => "hidden", :value => "delete" }/
|
2021-01-03 14:25:43 +05:30
|
|
|
= submit_tag _('Revoke'), class: 'gl-button btn btn-danger btn-sm', data: { confirm: _('Are you sure?') }
|