Commit c5f732e893cbd4cdc6dbcf6609ae5e0ce9249119
Committed by
Antonio Terceiro
1 parent
117d2ecd
Exists in
master
and in
28 other branches
ActionItem1181: allowing 5 years old people to register
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/profile_editor/_person_form.rhtml
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | <%= optional_field(@person, 'cell_phone', f.text_field(:cell_phone)) %> |
16 | 16 | <%= optional_field(@person, 'comercial_phone', f.text_field(:comercial_phone)) %> |
17 | 17 | <%= optional_field(@person, 'sex', f.radio_group(:profile_data, :sex, [ ['male',_('Male')], ['female',_('Female')] ])) %> |
18 | -<%= 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, '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 - 5)}) + '</div>')) %> | |
19 | 19 | <%= optional_field(@person, 'nationality', f.text_field(:nationality)) %> |
20 | 20 | <%= optional_field(@person, 'country', select_country(_('Country'), 'profile_data', 'country', {:class => 'type-select'})) %> |
21 | 21 | <%= optional_field(@person, 'state', f.text_field(:state)) %> | ... | ... |