Fix typos in HTML target attributes
In some places, we were using `blank` instead of `_blank`. Most browsers treat `blank` like `_blank`, though, so most people didn't experience any difference. In another place, we were incorrectly passing the `target` option inside an `options:` hash, resulting in invalid HTML.
This commit is contained in:
@@ -92,8 +92,8 @@
|
||||
<%= f.check_box :terms_of_service,
|
||||
title: t("form.accept_terms_title"),
|
||||
label: t("form.accept_terms",
|
||||
policy: link_to(t("form.policy"), "/privacy", target: "blank"),
|
||||
conditions: link_to(t("form.conditions"), "/conditions", target: "blank")) %>
|
||||
policy: link_to(t("form.policy"), "/privacy", target: "_blank"),
|
||||
conditions: link_to(t("form.conditions"), "/conditions", target: "_blank")) %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user