Sha256: 64e20cf9a112a72f6dfa3541a9a7f78d5410b52fbb7420ba3ee5b4681830824e

Contents?: true

Size: 821 Bytes

Versions: 37

Compression:

Stored size: 821 Bytes

Contents

= form_for(address, :url => person_address_path(person), :html => {:id => "mailing-address-form"}) do |form|
  .control-label= form.label(:address1, "Address")
  .controls= form.text_field(:address1)
    
  .control-label= form.label(:address2, "Secondary")
  .controls= form.text_field(:address2)

  .control-label= form.label(:city, "City")
  .controls= form.text_field(:city)

  .control-label= form.label(:state, "State / Province")
  .controls= form.select(:state, options_for_select(sorted_us_state_names, address.state))

  .control-label= form.label(:zip, "Zip / Postal Code")
  .controls= form.text_field(:zip)

  .control-label= form.label(:country, "Country")
  .controls= form.text_field(:country)
  .cancel-submit
    = form.submit :class => "btn"
    = link_to "Cancel", "#", :id => "cancel", :class=>'btn'

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/views/addresses/_form.html.haml
artfully_ose-1.3.0.pre3 app/views/addresses/_form.html.haml
artfully_ose-1.3.0.pre2 app/views/addresses/_form.html.haml
artfully_ose-1.3.0.pre1 app/views/addresses/_form.html.haml
artfully_ose-1.2.0 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.beta.1 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.alpha.2 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.alpha.1 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.27 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.26 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.24 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.23 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.21 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.20 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.19 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.18 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.17 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.16 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.15 app/views/addresses/_form.html.haml
artfully_ose-1.2.0.pre.12 app/views/addresses/_form.html.haml