Commit 268df60202ae381f7878f4adbacc93148eca53c4
Committed by
Rodrigo Souto
1 parent
a42fb86d
Exists in
master
and in
22 other branches
profile_editor:change order of person's fields on manage_fields page
Signed-off-by: Daniel Bucher <daniel.bucher88@gmail.com> Signed-off-by: Ana Losnak <analosnak@gmail.com> ActionItem1011
Showing
1 changed file
with
15 additions
and
15 deletions
Show diff stats
app/models/person.rb
@@ -145,34 +145,34 @@ class Person < Profile | @@ -145,34 +145,34 @@ class Person < Profile | ||
145 | end | 145 | end |
146 | 146 | ||
147 | FIELDS = %w[ | 147 | FIELDS = %w[ |
148 | + description | ||
149 | + image | ||
148 | preferred_domain | 150 | preferred_domain |
149 | nickname | 151 | nickname |
150 | sex | 152 | sex |
151 | - address | ||
152 | - zip_code | ||
153 | - city | ||
154 | - state | ||
155 | - country | ||
156 | - nationality | ||
157 | birth_date | 153 | birth_date |
154 | + nationality | ||
155 | + country | ||
156 | + state | ||
157 | + city | ||
158 | + district | ||
159 | + zip_code | ||
160 | + address | ||
161 | + address_reference | ||
158 | cell_phone | 162 | cell_phone |
159 | comercial_phone | 163 | comercial_phone |
160 | - jabber_id | ||
161 | personal_website | 164 | personal_website |
165 | + jabber_id | ||
162 | schooling | 166 | schooling |
167 | + formation | ||
168 | + custom_formation | ||
169 | + area_of_study | ||
170 | + custom_area_of_study | ||
163 | professional_activity | 171 | professional_activity |
164 | organization | 172 | organization |
165 | organization_website | 173 | organization_website |
166 | - area_of_study | ||
167 | - custom_area_of_study | ||
168 | - formation | ||
169 | - custom_formation | ||
170 | contact_phone | 174 | contact_phone |
171 | contact_information | 175 | contact_information |
172 | - description | ||
173 | - image | ||
174 | - district | ||
175 | - address_reference | ||
176 | ] | 176 | ] |
177 | 177 | ||
178 | validates_multiparameter_assignments | 178 | validates_multiparameter_assignments |