about summary refs log tree commit diff
path: root/app/views/doorkeeper/applications/index.html.haml
blob: 2c88cbd8987bc83a698424e0b67b0f9c195c3353 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- content_for :page_title do
  Apps

%p= link_to 'Add new', new_oauth_application_path, class: 'btn btn-success'

%table.table
  %thead
    %tr
      %th App
      %th Callback URL
      %th
      %th
  %tbody
    - @applications.each do |application|
      %tr
        %td= link_to application.name, oauth_application_path(application)
        %td= application.redirect_uri
        %td= link_to 'Edit', edit_oauth_application_path(application)
        %td= link_to 'Delete', oauth_application_path(application), method: :delete, data: { confirm: 'Are you sure?' }