Commit 0d65584abc24abb7cb256868de259d2ec06cefed
1 parent
bfd0b4a3
Exists in
master
and in
29 other branches
ActionItem833: Moving name field together with the others
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
app/views/profile_editor/_person.rhtml
@@ -3,6 +3,5 @@ | @@ -3,6 +3,5 @@ | ||
3 | <%= required_fields_message %> | 3 | <%= required_fields_message %> |
4 | 4 | ||
5 | <%= required f.text_field(:email)%> | 5 | <%= required f.text_field(:email)%> |
6 | - <%= labelled_form_field _('Full name'), text_field(:profile_data, :name) %> | ||
7 | 6 | ||
8 | <%= render :partial => 'person_form', :locals => {:f => f} %> | 7 | <%= render :partial => 'person_form', :locals => {:f => f} %> |
app/views/profile_editor/_person_form.rhtml
1 | <% @person ||= @profile %> | 1 | <% @person ||= @profile %> |
2 | 2 | ||
3 | +<%= required labelled_form_field(_('Full name'), text_field(:profile_data, :name)) %> | ||
4 | + | ||
3 | <% custom_field(@person, 'nickname') do %> | 5 | <% custom_field(@person, 'nickname') do %> |
4 | <%= f.text_field(:nickname, :maxlength => 16, :size => 30) %> | 6 | <%= f.text_field(:nickname, :maxlength => 16, :size => 30) %> |
5 | <div> | 7 | <div> |