Allow open link on new window

While trying to add the target="_blank" to this link I noticed that this attribute
no longer works in some places in the application, such as the terms and
conditions  link in the sign_up page.

For the time being I think we can resolve it this way in this case and deal with
this issue in a separate PR.
This commit is contained in:
taitus
2021-02-11 11:38:09 +01:00
parent e91b52ffe0
commit 90f014f639
2 changed files with 12 additions and 1 deletions

View File

@@ -16,7 +16,8 @@
link: link_to(t("sdg.related_list_selector.help.text"),
sdg_help_path,
title: t("shared.target_blank"),
target: "_blank"))),
target: "_blank")),
attributes: %w[href title target]),
data: { "suggestions-list": sdg_related_suggestions,
"remove-tag-text": t("sdg.related_list_selector.remove_tag") } %>
</div>