Remove title attribute in fields to accept terms

Not sure why we introduced these titles in commit 9dce52a69. The title
attributes contained the same text as the label, which IMHO made them
useless.
This commit is contained in:
Javi Martín
2023-10-15 14:47:53 +02:00
parent 0b0cbcfe5a
commit 95958b2080
13 changed files with 0 additions and 13 deletions

View File

@@ -90,7 +90,6 @@
<% unless current_user.manager? || investment.persisted? %>
<div>
<%= 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")) %>

View File

@@ -42,7 +42,6 @@
<% if debate.new_record? %>
<div>
<%= 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")) %>

View File

@@ -97,7 +97,6 @@
<% if proposal.new_record? %>
<div>
<%= 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")) %>