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:
@@ -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")) %>
|
||||
|
||||
@@ -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")) %>
|
||||
|
||||
@@ -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")) %>
|
||||
|
||||
@@ -63,7 +63,6 @@
|
||||
<div class="small-12 column">
|
||||
<% if @proposal.new_record? %>
|
||||
<%= 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")) %>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
label: t("devise_views.organizations.registrations.new.password_confirmation_label") %>
|
||||
|
||||
<%= f.check_box :terms_of_service,
|
||||
title: t("devise_views.users.registrations.new.terms_title"),
|
||||
label: t("devise_views.users.registrations.new.terms",
|
||||
terms: link_to(t("devise_views.users.registrations.new.terms_link"),
|
||||
"/conditions",
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
<% end %>
|
||||
|
||||
<%= f.check_box :terms_of_service,
|
||||
title: t("devise_views.users.registrations.new.terms_title"),
|
||||
label: t("devise_views.users.registrations.new.terms",
|
||||
terms: link_to(t("devise_views.users.registrations.new.terms_link"),
|
||||
"/conditions",
|
||||
|
||||
@@ -69,7 +69,6 @@
|
||||
|
||||
<div class="small-12">
|
||||
<%= f.check_box :terms_of_service,
|
||||
title: t("verification.residence.new.accept_terms_text_title"),
|
||||
label: t("verification.residence.new.accept_terms_text",
|
||||
terms_url: link_to(t("verification.residence.new.terms"),
|
||||
page_path("census_terms"),
|
||||
|
||||
@@ -103,7 +103,6 @@ en:
|
||||
submit: Register
|
||||
terms: By registering you accept the %{terms}
|
||||
terms_link: terms and conditions of use
|
||||
terms_title: By registering you accept the terms and conditions of use
|
||||
title: Register
|
||||
username_is_available: Username available
|
||||
username_is_not_available: Username already in use
|
||||
|
||||
@@ -143,7 +143,6 @@ en:
|
||||
poll_ended: "Cannot be changed if voting has already ended"
|
||||
form:
|
||||
accept_terms: I agree to the %{policy} and the %{conditions}
|
||||
accept_terms_title: I agree to the Privacy Policy and the Terms and conditions of use
|
||||
conditions: Terms and conditions of use
|
||||
debate: Debate
|
||||
direct_message: private message
|
||||
|
||||
@@ -46,7 +46,6 @@ en:
|
||||
success: Residence verified
|
||||
new:
|
||||
accept_terms_text: I accept %{terms_url} of the Census
|
||||
accept_terms_text_title: I accept the terms and conditions of access of the Census
|
||||
document_number: Document number
|
||||
document_number_help_title: Help
|
||||
document_number_help_text: "<strong>DNI</strong>: 12345678A<br> <strong>Passport</strong>: AAA000001<br> <strong>Residence card</strong>: X1234567P"
|
||||
|
||||
@@ -103,7 +103,6 @@ es:
|
||||
submit: Registrarse
|
||||
terms: Al registrarte aceptas las %{terms}
|
||||
terms_link: condiciones de uso
|
||||
terms_title: Al registrarte aceptas las condiciones de uso
|
||||
title: Registrarse
|
||||
username_is_available: Nombre de usuario disponible
|
||||
username_is_not_available: Nombre de usuario ya existente
|
||||
|
||||
@@ -143,7 +143,6 @@ es:
|
||||
poll_ended: "No puede ser cambiada si la votación ha acabado"
|
||||
form:
|
||||
accept_terms: Acepto la %{policy} y las %{conditions}
|
||||
accept_terms_title: Acepto la Política de privacidad y las Condiciones de uso
|
||||
conditions: Condiciones de uso
|
||||
debate: el debate
|
||||
direct_message: el mensaje privado
|
||||
|
||||
@@ -46,7 +46,6 @@ es:
|
||||
success: Residencia verificada
|
||||
new:
|
||||
accept_terms_text: Acepto %{terms_url} al Padrón
|
||||
accept_terms_text_title: Acepto los términos de acceso al Padrón
|
||||
document_number: Número de documento
|
||||
document_number_help_title: Ayuda
|
||||
document_number_help_text: "<strong>DNI</strong>: 12345678A<br> <strong>Pasaporte</strong>: AAA000001<br> <strong>Tarjeta de residencia</strong>: X1234567P"
|
||||
|
||||
Reference in New Issue
Block a user