]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/new.html.erb
Rework the help text to avoid raw html in translations
[rails.git] / app / views / users / new.html.erb
index f160de9130892403c41ba612c4a1269815c0c23d..27e98b45b3df544fea3f8fa7bfcc698a80d3a9e0 100644 (file)
       <%= hidden_field_tag("referer", h(@referer)) unless @referer.nil? %>
 
       <%= f.email_field :email, :tabindex => 1 %>
-      <%= f.email_field :email_confirmation, :tabindex => 2 %>
+      <%= f.email_field :email_confirmation, :help => t(".email_confirmation_help_html",
+                                                        :privacy_policy_link => link_to(t(".privacy_policy"),
+                                                                                        t(".privacy_policy_url"),
+                                                                                        :title => t(".privacy_policy_title"))),
+                                             :tabindex => 2 %>
 
       <%= f.text_field :display_name, :help => t(".display name description"), :tabindex => 3 %>