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

@@ -30,7 +30,7 @@
<div class="small-12 column">
<% if @spending_proposal.new_record? %>
<%= f.label :terms_of_service do %>
<%= f.check_box :terms_of_service, label: false %>
<%= f.check_box :terms_of_service, title: t('form.accept_terms_title'), label: false %>
<span class="checkbox">
<%= t("form.accept_terms",
policy: link_to(t("form.policy"), "/privacy", target: "blank"),