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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user