<h1><%= @application.name %></h1>
<% end %>
+<%= render :partial => "settings_menu" %>
+
<% secret = flash[:application_secret].presence || @application.plaintext_secret %>
<table class="table table-borderless">
<td>
<ul class="list-unstyled mb-0">
<% @application.scopes.each do |scope| -%>
- <li><%= t "oauth.scopes.#{scope}" %></li>
+ <li><%= t "oauth.scopes.#{scope}" %> <code class="text-muted">(<%= scope %>)</code></li>
<% end -%>
</ul>
</td>
</td>
</tr>
</table>
+
+<div>
+ <%= 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") } } %>
+</div>