From d37854aebf1739bc05d49a868f6bc79604279c3d Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 16 Apr 2009 13:47:16 -0300 Subject: [PATCH] ActionItem1025: reordering fields --- app/views/profile_editor/_person_form.rhtml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/profile_editor/_person_form.rhtml b/app/views/profile_editor/_person_form.rhtml index 77f4877..412dce7 100644 --- a/app/views/profile_editor/_person_form.rhtml +++ b/app/views/profile_editor/_person_form.rhtml @@ -15,12 +15,12 @@ <%= optional_field(@person, 'comercial_phone', f.text_field(:comercial_phone)) %> <%= optional_field(@person, 'sex', f.radio_group(:profile_data, :sex, [ ['male',_('Male')], ['female',_('Female')] ])) %> <%= optional_field(@person, 'birth_date', labelled_form_field(_('Birth date'), '
' + pick_date(:profile_data, :birth_date, {:start_year => (Date.today.year - 100), :end_year => (Date.today.year - 10)}) + '
')) %> -<%= optional_field(@person, 'address', labelled_form_field(_('Address (street and number)'), text_field(:profile_data, :address))) %> -<%= optional_field(@person, 'zip_code', labelled_form_field(_('ZIP code'), text_field(:profile_data, :zip_code))) %> -<%= optional_field(@person, 'city', f.text_field(:city)) %> -<%= optional_field(@person, 'state', f.text_field(:state)) %> -<%= optional_field(@person, 'country', select_country(_('Country'), 'profile_data', 'country', {:class => 'type-select'})) %> <%= optional_field(@person, 'nationality', f.text_field(:nationality)) %> +<%= optional_field(@person, 'country', select_country(_('Country'), 'profile_data', 'country', {:class => 'type-select'})) %> +<%= optional_field(@person, 'state', f.text_field(:state)) %> +<%= optional_field(@person, 'city', f.text_field(:city)) %> +<%= optional_field(@person, 'zip_code', labelled_form_field(_('ZIP code'), text_field(:profile_data, :zip_code))) %> +<%= optional_field(@person, 'address', labelled_form_field(_('Address (street and number)'), text_field(:profile_data, :address))) %> <% optional_field(@person, 'schooling') do %>
-- libgit2 0.21.2