diff --git a/app/views/tags/edit.html.erb b/app/views/tags/edit.html.erb index 9f499e755..08f98f2d8 100644 --- a/app/views/tags/edit.html.erb +++ b/app/views/tags/edit.html.erb @@ -3,10 +3,10 @@
This tag is category locked
+ <% if policy(@tag).can_change_category? %> + <%= f.input :category, collection: TagCategory.canonical_mapping.to_a, include_blank: false %> <% else %> - <%= f.input :category, :collection => TagCategory.canonical_mapping.to_a, :include_blank => false %> +Create a <%= link_to "bulk update request", new_bulk_update_request_path(bulk_update_request: { script: "category #{@tag.name} -> general" }) %> to change this tag's category.
<% end %> <% if policy(@tag).can_lock? %>