cirandas.net

ref: master

plugins/oauth_provider/views/doorkeeper/applications/show.html.erb




<%= _('Application Id:') %>

<%= @application.uid %>

<%= _('Secret:') %>

<%= @application.secret %>

<%= _('Scopes') %>:

<%= @application.scopes %>

<%= _('Callback urls:') %>

<% @application.redirect_uri.split.each do |uri| %> <% end %>
<%= uri %> <%= link_to _('Authorize'), oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: 'code'), class: 'btn btn-success', target: '_blank' %>

<%= _('Actions') %>

<%= link_to _('Edit'), edit_oauth_application_path(@application), class: 'btn btn-primary' %> <%= link_to _("Cancel"), oauth_applications_path, :class => "btn btn-default" %>

<%= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger' %>