app/views/users/edit.html.haml in wheels-0.1.24 vs app/views/users/edit.html.haml in wheels-0.1.25

- old
+ new

@@ -8,27 +8,40 @@ %ul - resource.errors.full_messages.each do |msg| %li= msg .fieldGroup = f.fields_for :profile do |pf| + - unless pf.object.company.empty? + .field + .fieldName= label_tag "Organization" + .fieldName= label_tag pf.object.company .field .fieldName= pf.label :first_name .fieldValue= pf.text_field :first_name .field .fieldName= pf.label :last_name .fieldValue= pf.text_field :last_name .field + .fieldName= pf.label :title + .fieldValue= pf.text_field :title + .field .fieldName= f.label :email .fieldValue= f.text_field :email .field .fieldName= pf.label :phone .fieldValue= pf.text_field :phone .field - .fieldName= label_tag "Company / Organization" - .fieldValue= pf.text_field :company + .fieldName= pf.label :address + .fieldValue= pf.text_field :address .field - .fieldName= pf.label :position - .fieldValue= pf.text_field :position + .fieldName= pf.label :city + .fieldValue= pf.text_field :city + .field + .fieldName= pf.label :state + .fieldValue= pf.text_field :state + .field + .fieldName= pf.label :zip + .fieldValue= pf.text_field :zip .submit= f.submit "Update Account" :css .extra_form_data { display: none;