2015-04-30 15:10:42 -04:00
|
|
|
- page_title @application.name, "Applications"
|
2014-12-19 09:15:29 -05:00
|
|
|
%h3.page-title
|
|
|
|
Application: #{@application.name}
|
2014-12-25 11:35:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
%table.table
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Application Id
|
|
|
|
%td
|
2014-12-19 09:15:29 -05:00
|
|
|
%code#application_id= @application.uid
|
2014-12-25 11:35:04 -05:00
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Secret:
|
|
|
|
%td
|
2014-12-19 09:15:29 -05:00
|
|
|
%code#secret= @application.secret
|
2014-12-25 11:35:04 -05:00
|
|
|
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Callback url
|
|
|
|
%td
|
2014-12-19 09:15:29 -05:00
|
|
|
- @application.redirect_uri.split.each do |uri|
|
2014-12-25 11:35:04 -05:00
|
|
|
%div
|
|
|
|
%span.monospace= uri
|
|
|
|
.form-actions
|
|
|
|
= link_to 'Edit', edit_oauth_application_path(@application), class: 'btn btn-primary wide pull-left'
|
|
|
|
= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger prepend-left-10'
|