mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 06:56:54 +08:00
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:
commit
b10e2aa34b
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue