Merge pull request #726 from biosistemika/lg-SCI-1430

Added data hook and form id for GA tracking [SCI-1430]
This commit is contained in:
gazvoda 2017-07-03 11:34:15 +02:00 committed by GitHub
commit b10e2aa34b

View file

@ -2,8 +2,8 @@
<div class="center-block center-block-narrow"> <div class="center-block center-block-narrow">
<h2>Sign up</h2> <h2>Sign up</h2>
<div data-hook="sign-up-form-hook">
<%= 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" } ) do |f| %>
<div class="form-group"> <div class="form-group">
<%= f.label :full_name %> <%= f.label :full_name %>
@ -44,7 +44,7 @@
<%= f.submit 'Sign up', class: 'btn btn-primary' %> <%= f.submit 'Sign up', class: 'btn btn-primary' %>
</div> </div>
<% end %> <% end %>
</div>
<%= render 'users/shared/links' %> <%= render 'users/shared/links' %>
</div> </div>