Customizing the last of doorkeeper views, adding CSS for dashboard forms
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
= form_tag oauth_authorized_application_path(application) do
|
||||
%input{type: "hidden", name: "_method", value: "delete"}
|
||||
= submit_tag 'Revoke', class: 'btn'
|
@ -8,9 +8,9 @@
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th= t('doorkeeper.authorized_applications.index.application')
|
||||
%th App
|
||||
%th
|
||||
- @applications.each do |application|
|
||||
%tr
|
||||
%td= application.name
|
||||
%td= render 'delete_form', application: application
|
||||
%td= link_to 'Revoke', oauth_authorized_application_path(application), method: :delete
|
||||
|
Reference in New Issue
Block a user