X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5868be1f7b8eb252812b6920a80341c589f291c6..d8abf0dc7e1189c99a4c34668216594ee16ba5d9:/app/views/oauth2_applications/show.html.erb diff --git a/app/views/oauth2_applications/show.html.erb b/app/views/oauth2_applications/show.html.erb index 1a991f0c6..8d9c8516d 100644 --- a/app/views/oauth2_applications/show.html.erb +++ b/app/views/oauth2_applications/show.html.erb @@ -2,6 +2,8 @@

<%= @application.name %>

<% end %> +<%= render :partial => "settings_menu" %> + <% secret = flash[:application_secret].presence || @application.plaintext_secret %> @@ -42,3 +44,8 @@
+ +
+ <%= 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") } } %> +