Sha256: 81f55a7d761642282e07b83a15921237a7eded5cafdb71a1ff4e319c6f6e0efa
Contents?: true
Size: 1.54 KB
Versions: 1
Compression:
Stored size: 1.54 KB
Contents
%h1 Update your personal info: .form = form_for @user do |f| - if @user.errors.any? #errorExplanation %h2= "#{pluralize(@user.errors.count, "error")} prohibited this change:" %ul - @user.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wheels-0.1.30 | app/views/users/edit.html.haml |