Commit d37854aebf1739bc05d49a868f6bc79604279c3d
1 parent
77f8b2aa
Exists in
master
and in
29 other branches
ActionItem1025: reordering fields
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
app/views/profile_editor/_person_form.rhtml
... | ... | @@ -15,12 +15,12 @@ |
15 | 15 | <%= optional_field(@person, 'comercial_phone', f.text_field(:comercial_phone)) %> |
16 | 16 | <%= optional_field(@person, 'sex', f.radio_group(:profile_data, :sex, [ ['male',_('Male')], ['female',_('Female')] ])) %> |
17 | 17 | <%= optional_field(@person, 'birth_date', labelled_form_field(_('Birth date'), '<div class="select-birth-date">' + pick_date(:profile_data, :birth_date, {:start_year => (Date.today.year - 100), :end_year => (Date.today.year - 10)}) + '</div>')) %> |
18 | -<%= optional_field(@person, 'address', labelled_form_field(_('Address (street and number)'), text_field(:profile_data, :address))) %> | |
19 | -<%= optional_field(@person, 'zip_code', labelled_form_field(_('ZIP code'), text_field(:profile_data, :zip_code))) %> | |
20 | -<%= optional_field(@person, 'city', f.text_field(:city)) %> | |
21 | -<%= optional_field(@person, 'state', f.text_field(:state)) %> | |
22 | -<%= optional_field(@person, 'country', select_country(_('Country'), 'profile_data', 'country', {:class => 'type-select'})) %> | |
23 | 18 | <%= optional_field(@person, 'nationality', f.text_field(:nationality)) %> |
19 | +<%= optional_field(@person, 'country', select_country(_('Country'), 'profile_data', 'country', {:class => 'type-select'})) %> | |
20 | +<%= optional_field(@person, 'state', f.text_field(:state)) %> | |
21 | +<%= optional_field(@person, 'city', f.text_field(:city)) %> | |
22 | +<%= optional_field(@person, 'zip_code', labelled_form_field(_('ZIP code'), text_field(:profile_data, :zip_code))) %> | |
23 | +<%= optional_field(@person, 'address', labelled_form_field(_('Address (street and number)'), text_field(:profile_data, :address))) %> | |
24 | 24 | |
25 | 25 | <% optional_field(@person, 'schooling') do %> |
26 | 26 | <div class="formfieldline"> | ... | ... |