Remove unneeded _html suffix in I18n keys
This suffix does the same thing as calling `.html_safe` on them. So we don't need to use it in texts that don't use HTML.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
label: t("devise_views.users.registrations.new.terms",
|
||||
terms: link_to(t("devise_views.users.registrations.new.terms_link"),
|
||||
"/conditions",
|
||||
title: t("shared.target_blank_html"),
|
||||
title: t("shared.target_blank"),
|
||||
target: "_blank")
|
||||
).html_safe %>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<p><%= t("devise_views.organizations.registrations.success.thank_you_html") %></p>
|
||||
<p><%= t("devise_views.organizations.registrations.success.instructions_1_html") %></p>
|
||||
<p><%= t("devise_views.organizations.registrations.success.instructions_2_html") %></p>
|
||||
<p><%= t("devise_views.organizations.registrations.success.instructions_3_html") %></p>
|
||||
<p><%= t("devise_views.organizations.registrations.success.instructions_3") %></p>
|
||||
<p>
|
||||
<%= link_to t("devise_views.organizations.registrations.success.back_to_index"),
|
||||
root_path, class: "button margin-top expanded" %>
|
||||
|
||||
Reference in New Issue
Block a user