Customizing the last of doorkeeper views, adding CSS for dashboard forms

This commit is contained in:
Eugen Rochko
2016-03-14 17:41:13 +01:00
parent 3441361568
commit 25d7c1b6ea
14 changed files with 193 additions and 120 deletions

View File

@ -1,3 +0,0 @@
= form_tag oauth_authorized_application_path(application) do
%input{type: "hidden", name: "_method", value: "delete"}
= submit_tag 'Revoke', class: 'btn'

View File

@ -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