2015-04-30 13:06:18 -04:00
|
|
|
- page_title "Applications"
|
2014-12-19 09:15:29 -05:00
|
|
|
%h3.page-title Your applications
|
|
|
|
%p= link_to 'New Application', new_oauth_application_path, class: 'btn btn-success'
|
2015-10-19 05:19:45 -04:00
|
|
|
|
|
|
|
.table-holder
|
|
|
|
%table.table.table-striped
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th Name
|
|
|
|
%th Callback URL
|
|
|
|
%th
|
|
|
|
%th
|
|
|
|
%tbody
|
|
|
|
- @applications.each do |application|
|
|
|
|
%tr{:id => "application_#{application.id}"}
|
|
|
|
%td= link_to application.name, oauth_application_path(application)
|
|
|
|
%td= application.redirect_uri
|
|
|
|
%td= link_to 'Edit', edit_oauth_application_path(application), class: 'btn btn-link'
|
|
|
|
%td= render 'delete_form', application: application
|