X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3914050fcc24c8727c485412a69b12292bbf213d..49ba5ab6d2e98221246635327eb15dc71c97e67d:/app/views/redactions/index.html.erb?ds=sidebyside diff --git a/app/views/redactions/index.html.erb b/app/views/redactions/index.html.erb index b6b6ef46e..26dad64cf 100644 --- a/app/views/redactions/index.html.erb +++ b/app/views/redactions/index.html.erb @@ -10,3 +10,9 @@ <% else %>

<%= t ".empty" %>

<% end %> + +<% if can?(:create, Redaction) %> +
+ <%= link_to t(".new"), new_redaction_path, :class => "btn btn-outline-primary" %> +
+<% end %>