From 05261bf6d7f0b06afdad19cbd8d889e24fbc3d31 Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 10 Apr 2022 00:13:26 -0500 Subject: [PATCH] tags: fix backwards deprecate tag links on tag edit page. Fix the tag edit page getting the `deprecate tag` and `undeprecate tag` BUR links backwards. --- app/views/tags/edit.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/tags/edit.html.erb b/app/views/tags/edit.html.erb index 0929dbd45..381d9abfc 100644 --- a/app/views/tags/edit.html.erb +++ b/app/views/tags/edit.html.erb @@ -13,9 +13,9 @@ <%= f.input :is_deprecated, :collection => [["No", "false"], ["Yes", "true"]], :include_blank => false %> <% else %> <% if @tag.is_deprecated? %> -

Create a <%= link_to "bulk update request", new_bulk_update_request_path(bulk_update_request: { script: "deprecate #{@tag.name}" }) %> to mark this tag as not deprecated.

+

Create a <%= link_to "bulk update request", new_bulk_update_request_path(bulk_update_request: { script: "undeprecate #{@tag.name}" }) %> to mark this tag as not deprecated.

<% else %> -

Create a <%= link_to "bulk update request", new_bulk_update_request_path(bulk_update_request: { script: "undeprecate #{@tag.name}" }) %> to mark this tag as deprecated.

+

Create a <%= link_to "bulk update request", new_bulk_update_request_path(bulk_update_request: { script: "deprecate #{@tag.name}" }) %> to mark this tag as deprecated.

<% end %> <% end %> <%= f.button :submit, "Submit" %>