Commit dfe39540cd0fece026a465db320dd4c63ba84fd6
Committed by
Fabio Teixeira
1 parent
a405a4a6
Exists in
master
and in
29 other branches
signup_image_upload: Put file_field as a optional_field.
Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com> Signed-off-by: Luiz Matos <luizff.matos@gmail.com>
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/views/profile_editor/_person_form.html.erb
@@ -25,6 +25,7 @@ | @@ -25,6 +25,7 @@ | ||
25 | <%= optional_field(@person, 'address', labelled_form_field(_('Address (street and number)'), text_field(:profile_data, :address, :rel => _('Address')))) %> | 25 | <%= optional_field(@person, 'address', labelled_form_field(_('Address (street and number)'), text_field(:profile_data, :address, :rel => _('Address')))) %> |
26 | <%= optional_field(@person, 'address_reference', labelled_form_field(_('Address reference'), text_field(:profile_data, :address_reference, :rel => _('Address reference')))) %> | 26 | <%= optional_field(@person, 'address_reference', labelled_form_field(_('Address reference'), text_field(:profile_data, :address_reference, :rel => _('Address reference')))) %> |
27 | <%= optional_field(@person, 'district', labelled_form_field(_('District'), text_field(:profile_data, :district, :rel => _('District')))) %> | 27 | <%= optional_field(@person, 'district', labelled_form_field(_('District'), text_field(:profile_data, :district, :rel => _('District')))) %> |
28 | +<%= optional_field(@person, 'image', labelled_form_field(_('Image'), file_field(:profile_data, :image, :rel => _('Image')))) %> | ||
28 | 29 | ||
29 | <% optional_field(@person, 'schooling') do %> | 30 | <% optional_field(@person, 'schooling') do %> |
30 | <div class="formfieldline"> | 31 | <div class="formfieldline"> |