Sha256: 174e2478ada33e8e6e0c8146997d8820b6b0aaac5bf5b13b9db96a5a83b56b33
Contents?: true
Size: 1.56 KB
Versions: 3
Compression:
Stored size: 1.56 KB
Contents
%h1 Update your personal info: .form = form_for resource do |f| - if resource.errors.any? #errorExplanation %h2= "#{pluralize(resource.errors.count, "error")} prohibited this change:" %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= pf.label :address .fieldValue= pf.text_field :address .field .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; } = content_for :head do = javascript_include_tag %w(jquery.validate jquery-validate/additional-methods.js)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wheels-0.1.28 | app/views/users/edit.html.haml |
wheels-0.1.27 | app/views/users/edit.html.haml |
wheels-0.1.25 | app/views/users/edit.html.haml |