]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_applications/show.html.erb
Rework some of the OAuth2 views, adding links and messages when there are no applicat...
[rails.git] / app / views / oauth2_applications / show.html.erb
index 1a991f0c6de004cc780a209bd8fe9be999ebc01e..e8ab7836dbca5a1b282e868635458ac58158867a 100644 (file)
@@ -42,3 +42,8 @@
     </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") } } %>
+</td>