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" }/
|
2018-11-18 11:00:15 +05:30
|
|
|
= submit_tag _('Revoke'), onclick: "return confirm('#{_('Are you sure?')}')", class: 'btn btn-remove btn-sm'
|