diff --git a/app/views/profile_editor/_person.rhtml b/app/views/profile_editor/_person.rhtml index 4e8ad40..7d1f357 100644 --- a/app/views/profile_editor/_person.rhtml +++ b/app/views/profile_editor/_person.rhtml @@ -3,6 +3,5 @@ <%= required_fields_message %> <%= required f.text_field(:email)%> - <%= labelled_form_field _('Full name'), text_field(:profile_data, :name) %> <%= render :partial => 'person_form', :locals => {:f => f} %> diff --git a/app/views/profile_editor/_person_form.rhtml b/app/views/profile_editor/_person_form.rhtml index f90d88c..2611d07 100644 --- a/app/views/profile_editor/_person_form.rhtml +++ b/app/views/profile_editor/_person_form.rhtml @@ -1,5 +1,7 @@ <% @person ||= @profile %> +<%= required labelled_form_field(_('Full name'), text_field(:profile_data, :name)) %> + <% custom_field(@person, 'nickname') do %> <%= f.text_field(:nickname, :maxlength => 16, :size => 30) %>