Commit 37bc734fb8085139f79f2cb81de51400df1bc07a
1 parent
c6665719
Exists in
fix_sign_up_form
Insert custom fields before terms of use
Signed-off-by: Sabryna Sousa <sabryna.sousa1323@gmail.com> Signed-off-by: Tallys Martins <tallysmartins@gmail.com> Signed-off-by: Victor Navarro <victor.matias.navarro@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/account/_signup_form.html.erb
... | ... | @@ -109,6 +109,7 @@ |
109 | 109 | |
110 | 110 | <%= safe_join(@plugins.dispatch(:signup_extra_contents).collect { |content| instance_eval(&content) }, "") %> |
111 | 111 | |
112 | + <%= render :partial => 'shared/custom_fields', :locals => {:f => f, :profile => @person, :signup => true} %> | |
112 | 113 | <%= template_options(:people, 'profile_data') %> |
113 | 114 | |
114 | 115 | <% unless @terms_of_use.blank? %> |
... | ... | @@ -126,7 +127,6 @@ |
126 | 127 | </div> |
127 | 128 | |
128 | 129 | <%= recaptcha_tags :ajax => true, :display => {:theme => 'clean'} if @block_bot %> |
129 | -<%= render :partial => 'shared/custom_fields', :locals => {:f => f, :profile => @person, :signup => true} %> | |
130 | 130 | |
131 | 131 | <p style="text-align: center"> |
132 | 132 | <%= submit_button('save', _('Create my account')) %> | ... | ... |