% content_for :heading do %>
<%= @application.name %>
<% end %>
<% secret = flash[:application_secret].presence || @application.plaintext_secret %>
<%= t ".client_id" %> |
<%= @application.uid %> |
<% unless secret.blank? && Doorkeeper.config.application_secret_hashed? -%>
<%= t ".client_secret" %> |
<%= secret %>
<% if Doorkeeper.config.application_secret_hashed? -%>
<%= t ".client_secret_warning" %>
<% end -%>
|
<% end -%>
<%= t ".permissions" %> |
<% @application.scopes.each do |scope| -%>
- <%= t "oauth.scopes.#{scope}" %>
<% end -%>
|
<%= t ".redirect_uris" %> |
<% @application.redirect_uri.split.each do |uri| -%>
- <%= uri %>
<% end -%>
|