]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/show.html.erb
Use new joined buttons style for groups of buttons
[rails.git] / app / views / oauth_clients / show.html.erb
index 6b91692111d0b7e18f7845e572f4c11a114a3275..131696ed305fd9f4dc1fc712e03dc7a6bc0af1d4 100644 (file)
@@ -26,9 +26,7 @@
 
 <p><%= t'oauth_clients.show.support_notice' %></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>
+<div class="buttons">
+  <%= button_to t('oauth_clients.show.edit'), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get %>
+  <%= 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') } %>
+</div>