]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_applications/index.html.erb
Add support for OAuth2 using doorkeeper
[rails.git] / app / views / oauth2_applications / index.html.erb
diff --git a/app/views/oauth2_applications/index.html.erb b/app/views/oauth2_applications/index.html.erb
new file mode 100644 (file)
index 0000000..a2d4cc0
--- /dev/null
@@ -0,0 +1,13 @@
+<% content_for :heading do %>
+  <h1><%= t ".title" %></h1>
+<% end %>
+
+<p>
+  <%= link_to t(".new"), new_oauth_application_path, :class => "btn btn-outline-primary" %>
+</p>
+
+<table class="table table-borderless table-striped">
+  <tbody>
+    <%= render :partial => "application", :collection => @applications %>
+  </tbody>
+</table>