Commit 0d65584abc24abb7cb256868de259d2ec06cefed

Authored by Antonio Terceiro
1 parent bfd0b4a3

ActionItem833: Moving name field together with the others

app/views/profile_editor/_person.rhtml
... ... @@ -3,6 +3,5 @@
3 3 <%= required_fields_message %>
4 4  
5 5 <%= required f.text_field(:email)%>
6   - <%= labelled_form_field _('Full name'), text_field(:profile_data, :name) %>
7 6  
8 7 <%= render :partial => 'person_form', :locals => {:f => f} %>
... ...
app/views/profile_editor/_person_form.rhtml
1 1 <% @person ||= @profile %>
2 2  
  3 +<%= required labelled_form_field(_('Full name'), text_field(:profile_data, :name)) %>
  4 +
3 5 <% custom_field(@person, 'nickname') do %>
4 6 <%= f.text_field(:nickname, :maxlength => 16, :size => 30) %>
5 7 <div>
... ...