]> git.openstreetmap.org Git - rails.git/commitdiff
Use small bootstrap buttons for oauth client actions
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Feb 2021 10:22:05 +0000 (10:22 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Feb 2021 13:44:52 +0000 (13:44 +0000)
app/views/oauth_clients/index.html.erb

index f35537953a9eecac67c8c704ec2d4c6cd4c7e199..8e940e341f194630b2897b7609a38c82f43bb18a 100644 (file)
@@ -18,9 +18,9 @@
       <td><%= link_to token.client_application.name, token.client_application.url %></td>
       <td><%= token.authorized_at %></td>
       <td>
-        <%= form_tag({ :controller => "oauth", :action => "revoke" }, { :class => "standard-form" }) do %>
+        <%= form_tag({ :controller => "oauth", :action => "revoke" }) do %>
           <%= hidden_field_tag "token", token.token %>
-          <%= submit_tag t(".revoke") %>
+          <%= submit_tag t(".revoke"), :class => "btn btn-sm btn-primary" %>
         <% end %>
       </td>
     </tr>