[Git][noosfero/noosfero][master] 2 commits: Insert custom fields before terms of use

Tallys Martins gitlab at mg.gitlab.com
Mon Feb 13 13:56:24 BRST 2017


Tallys Martins pushed to branch master at Noosfero / noosfero


Commits:
93f48894 by Tallys Martins at 2017-02-13T04:58:50-02:00
Insert custom fields before terms of use

Signed-off-by: Sabryna Sousa <sabryna.sousa1323 at gmail.com>
Signed-off-by: Victor Navarro <victor.matias.navarro at gmail.com>

- - - - -
ff84efb0 by Tallys Martins at 2017-02-13T15:56:18+00:00
Merge branch 'fix_sign_up_form' into 'master'

Insert custom fields before terms of use

See merge request !1004
- - - - -


1 changed file:

- app/views/account/_signup_form.html.erb


Changes:

=====================================
app/views/account/_signup_form.html.erb
=====================================
--- a/app/views/account/_signup_form.html.erb
+++ b/app/views/account/_signup_form.html.erb
@@ -109,6 +109,7 @@
 
   <%= safe_join(@plugins.dispatch(:signup_extra_contents).collect { |content| instance_eval(&content) }, "") %>
 
+  <%= render :partial => 'shared/custom_fields', :locals => {:f => f, :profile => @person, :signup => true} %>
   <%= template_options(:people, 'profile_data') %>
 
   <%= render :partial => 'shared/profile_kinds', :locals => {:form_field => 'profile_data'} %>
@@ -128,7 +129,6 @@
 </div>
 
 <%= recaptcha_tags :ajax => true, :ssl => true, :display => {:theme => 'clean'} if @block_bot %>
-<%= render :partial => 'shared/custom_fields', :locals => {:f => f, :profile => @person, :signup => true} %>
 
 <p style="text-align: center">
   <%= submit_button('save', _('Create my account')) %>



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/c4419ec2009dda874f5180491136f496cc409a49...ff84efb0798d280cbf41eb8328871f27773ca5aa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170213/a31ae3a6/attachment.html>


More information about the Noosfero-dev mailing list