This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2016-03-12 19:46:06 +01:00
|
|
|
- content_for :page_title do
|
2016-03-14 17:41:13 +01:00
|
|
|
Apps
|
2016-03-12 19:46:06 +01:00
|
|
|
|
2016-03-14 17:41:13 +01:00
|
|
|
%p= link_to 'Add new', new_oauth_application_path, class: 'btn btn-success'
|
2016-03-12 19:46:06 +01:00
|
|
|
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
2016-03-14 17:41:13 +01:00
|
|
|
%th App
|
|
|
|
%th Callback URL
|
2016-03-12 19:46:06 +01:00
|
|
|
%th
|
|
|
|
%th
|
|
|
|
%tbody
|
|
|
|
- @applications.each do |application|
|
|
|
|
%tr
|
|
|
|
%td= link_to application.name, oauth_application_path(application)
|
|
|
|
%td= application.redirect_uri
|
2016-03-14 17:41:13 +01:00
|
|
|
%td= link_to 'Edit', edit_oauth_application_path(application)
|
|
|
|
%td= link_to 'Delete', oauth_application_path(application), method: :delete, data: { confirm: 'Are you sure?' }
|