From 8ec458db91f7759d947fae79574ae797263b756e Mon Sep 17 00:00:00 2001 From: lenart Date: Fri, 30 Jun 2017 10:06:54 +0200 Subject: [PATCH] Added data hook and form id for GA tracking [SCI-1430] --- app/views/users/registrations/new.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/users/registrations/new.html.erb b/app/views/users/registrations/new.html.erb index a3bde133a..19412417b 100644 --- a/app/views/users/registrations/new.html.erb +++ b/app/views/users/registrations/new.html.erb @@ -2,8 +2,8 @@

Sign up

- - <%= form_for(:user, as: resource_name, url: registration_path(resource_name)) do |f| %> +
+ <%= form_for(:user, as: resource_name, url: registration_path(resource_name), html: { id: "sign-up-form-ga" }) do |f| %>
<%= f.label :full_name %> @@ -44,7 +44,7 @@ <%= f.submit 'Sign up', class: 'btn btn-primary' %>
<% end %> - +
<%= render 'users/shared/links' %>