]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/show.html.erb
Move "Browse Map Data" to layers control
[rails.git] / app / views / oauth_clients / show.html.erb
index 2769fcd289174922bf471e2fa1fa8d25a9a0de12..8139a2d73e644bac4ced2ac34be095e41ec163ff 100644 (file)
@@ -24,4 +24,9 @@
 
 <p><%= t'oauth_clients.show.support_notice' %></p>
 
-<p><%= link_to t('oauth_clients.show.edit'), edit_oauth_client_url(@client_application.user.display_name, @client_application) %></p>
+<table>
+<tr>
+<td><%= button_to t('oauth_clients.show.edit'), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get %></td>
+<td><%= button_to t('oauth_clients.show.delete'), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :data => { :confirm => t('oauth_clients.show.confirm') } %></td>
+</tr>
+</table>