]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/redactions/index.html.erb
Move admin users list to its own controller
[rails.git] / app / views / redactions / index.html.erb
index b6b6ef46e063e8f358eac3c64dc6ad8a440a918f..26dad64cfe1907eb415acb84f3880be59abdc8e5 100644 (file)
@@ -10,3 +10,9 @@
 <% else %>
   <p><%= t ".empty" %></p>
 <% end %>
+
+<% if can?(:create, Redaction) %>
+  <div>
+    <%= link_to t(".new"), new_redaction_path, :class => "btn btn-outline-primary" %>
+  </div>
+<% end %>