% content_for :heading do %>
  
<%= @application.name %>
<% end %>
<%= render :partial => "settings_menu" %>
<% 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}" %> 
(<%= scope %>) 
        <% end -%>
       
     | 
  
  
    | <%= t ".redirect_uris" %> | 
    
      
        <% @application.redirect_uri.split.each do |uri| -%>
          - <%= uri %>
 
        <% end -%>
       
     | 
  
  <%= link_to t(".edit"), edit_oauth_application_path(@application), :class => "btn btn-outline-primary" %>
  <%= link_to t(".delete"), oauth_application_path(@application), { :method => :delete, :class => "btn btn-outline-danger", :data => { :confirm => t(".confirm_delete") } } %>