Commit 2758921daba1f0b72561b917312c4c866689154d

Authored by Daniela Feitosa
1 parent 013b8132

Enhancements on signup screen

Template options appears after all fields
Fixed width of radio input
Fixed translation of usp field tip
app/views/account/_signup_form.rhtml
... ... @@ -72,14 +72,14 @@
72 72  
73 73 <div id="signup-form-profile">
74 74  
75   - <%= template_options(Person, 'profile_data') %>
76   -
77 75 <% labelled_fields_for :profile_data, @person do |f| %>
78 76 <%= render :partial => 'profile_editor/person_form', :locals => {:f => f} %>
79 77 <% end %>
80 78  
81 79 <%= @plugins.dispatch(:signup_extra_contents).collect { |content| instance_eval(&content) }.join("") %>
82 80  
  81 + <%= template_options(Person, 'profile_data') %>
  82 +
83 83 <% unless @terms_of_use.blank? %>
84 84 <div id='terms-of-use-box' class='formfieldline'>
85 85 <%= labelled_check_box(_('I accept the %s') % link_to(_('terms of use'), {:controller => 'home', :action => 'terms'}, :target => '_blank'), 'user[terms_accepted]') %>
... ...
po/pt/noosfero.po
... ... @@ -10287,7 +10287,7 @@ msgid &quot;&quot;
10287 10287 "if you have one."
10288 10288 msgstr ""
10289 10289 "O número USP garante poderes especiais nesta rede. Não esqueça de preenchê-"
10290   -"lo se você possuir um se você possuir um."
  10290 +"lo se você possuir um."
10291 10291  
10292 10292 #: plugins/stoa/lib/stoa_plugin.rb:24 plugins/stoa/lib/stoa_plugin.rb:34
10293 10293 msgid "Birth date (yyyy-mm-dd)"
... ...
public/stylesheets/application.css
... ... @@ -5731,6 +5731,7 @@ li.profile-activity-item.upload_image .activity-gallery-images-count-1 img {
5731 5731 #signup-form input[type=radio] {
5732 5732 height: auto;
5733 5733 margin: 0px 5px 0px 3px;
  5734 + width: auto;
5734 5735 }
5735 5736  
5736 5737 #signup-form .fieldgroup {
... ...