Adds title on input checkboxes

This commit is contained in:
Alberto Garcia Cabeza
2016-03-14 14:19:18 +01:00
parent 6f74f8ab8a
commit 9dce52a69a
18 changed files with 28 additions and 22 deletions

View File

@@ -67,7 +67,7 @@
<div class="small-12">
<%= f.label :terms_of_service do %>
<%= f.check_box :terms_of_service, label: false %>
<%= f.check_box :terms_of_service, title: t('verification.residence.new.accept_terms_text_title'), label: false %>
<span class="checkbox">
<%= t("verification.residence.new.accept_terms_text",
terms_url: link_to(t("verification.residence.new.terms"), "/census_terms",