Sha256: 276424c8a5f1d201b15f6342b9cfeed7057a4a304f728726cbe12421e129410d

Contents?: true

Size: 651 Bytes

Versions: 73

Compression:

Stored size: 651 Bytes

Contents

= form_for @profile, :url=>{:action=>"update"}, :html=>{:multipart=>true} do |f|
  -if @profile.errors.any?
    #errorExplanation
      %h2= "#{pluralize(@profile.errors.count, "error")} prohibited this profile from being saved:"
      %ul
        - @profile.errors.full_messages.each do |msg|
          %li= msg

  .field
    = f.label :first_name
    = f.text_field :first_name
  .field
    = f.label :last_name
    = f.text_field :last_name
  .field
    = f.label :alias
    = f.text_field :alias
  .field
    = f.label :about_me
    = f.text_area :about_me
  .field
    = f.label :image
    = f.file_field :image
  .actions
    = f.submit 'Save'

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
wheels-0.1.30 app/views/profiles/_form.html.haml
wheels-0.1.28 app/views/profiles/_form.html.haml
wheels-0.1.27 app/views/profiles/_form.html.haml
wheels-0.1.25 app/views/profiles/_form.html.haml
wheels-0.1.24 app/views/profiles/_form.html.haml
wheels-0.1.23 app/views/profiles/_form.html.haml
wheels-0.1.22 app/views/profiles/_form.html.haml
wheels-0.1.21 app/views/profiles/_form.html.haml
wheels-0.1.20 app/views/profiles/_form.html.haml
wheels-0.1.19 app/views/profiles/_form.html.haml
wheels-0.1.18 app/views/profiles/_form.html.haml
wheels-0.1.17 app/views/profiles/_form.html.haml
wheels-0.1.16 app/views/profiles/_form.html.haml
wheels-0.1.15 app/views/profiles/_form.html.haml
wheels-0.1.14 app/views/profiles/_form.html.haml
wheels-0.1.13 app/views/profiles/_form.html.haml
wheels-0.1.12 app/views/profiles/_form.html.haml
wheels-0.1.10 app/views/profiles/_form.html.haml
wheels-0.1.9 app/views/profiles/_form.html.haml
wheels-0.1.8 app/views/profiles/_form.html.haml