Sha256: 37e1dc67f126e92b703ec7807b59310351d213f3ef173ae2315ec4e5d06a4018

Contents?: true

Size: 621 Bytes

Versions: 2

Compression:

Stored size: 621 Bytes

Contents

= form_for (person) do |form|
  %ul
    %li
      =form.label :first_name, "First Name"
      =form.text_field :first_name
    %li
      = form.label :last_name, "Last Name"
      = form.text_field :last_name
    %li
      = form.label :email, "Email"
      = form.text_field :email
    - unless person.new_record?  
      %li
        = form.label :company_name, "Company"
        = form.text_field :company_name
      %li
        = form.label :website, "Website"
        = form.text_field :website
  .form-actions
    = render :partial => 'shared/submit_cancel', :locals => { :form => form, :cancel_path => people_path }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
artfully_ose-1.0.0.rc4 app/views/people/_form.html.haml
artfully_ose-1.0.0.rc3 app/views/people/_form.html.haml