From 4965143846f1f0d5c93cc94c1d430c30b09542e9 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Thu, 5 Oct 2023 04:11:10 +0000 Subject: [PATCH] Open external council website in new tab --- app/views/_tailwind/applications/external.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/_tailwind/applications/external.html.erb b/app/views/_tailwind/applications/external.html.erb index e9f361a87..fd0dbf6f8 100644 --- a/app/views/_tailwind/applications/external.html.erb +++ b/app/views/_tailwind/applications/external.html.erb @@ -27,8 +27,7 @@
- <%# TODO: This should use target: "_blank", rel: "noopener" on the link to the external site %> - <%= render Tailwind::ButtonComponent.new(tag: :a, size: "2xl", type: :primary, href: @application.info_url) do %> + <%= render Tailwind::ButtonComponent.new(tag: :a, size: "2xl", type: :primary, href: @application.info_url, open_in_new_tab: true) do %> Continue to <%= @application.authority.full_name %> website <% end %>