Commit 268df60202ae381f7878f4adbacc93148eca53c4

Authored by Daniel
Committed by Rodrigo Souto
1 parent a42fb86d

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 &lt; Profile
145 145 end
146 146  
147 147 FIELDS = %w[
  148 + description
  149 + image
148 150 preferred_domain
149 151 nickname
150 152 sex
151   - address
152   - zip_code
153   - city
154   - state
155   - country
156   - nationality
157 153 birth_date
  154 + nationality
  155 + country
  156 + state
  157 + city
  158 + district
  159 + zip_code
  160 + address
  161 + address_reference
158 162 cell_phone
159 163 comercial_phone
160   - jabber_id
161 164 personal_website
  165 + jabber_id
162 166 schooling
  167 + formation
  168 + custom_formation
  169 + area_of_study
  170 + custom_area_of_study
163 171 professional_activity
164 172 organization
165 173 organization_website
166   - area_of_study
167   - custom_area_of_study
168   - formation
169   - custom_formation
170 174 contact_phone
171 175 contact_information
172   - description
173   - image
174   - district
175   - address_reference
176 176 ]
177 177  
178 178 validates_multiparameter_assignments
... ...