Sha256: 72ae91816681a48a370dedea614ea371beb71ffb4021038e0b5a9a60ec6c9e29
Contents?: true
Size: 966 Bytes
Versions: 1
Compression:
Stored size: 966 Bytes
Contents
<div class="item"> <%= address.label :firstname %> <%= address.text_field :firstname %> </div> <div class="item"> <%= address.label :lastname %> <%= address.text_field :lastname %> </div> <div class="item"> <%= address.label :address1, "Address" %> <%= address.text_field :address1 %> </div> <div class="item"> <%= address.label :address2, "Address cont." %> <%= address.text_field :address2 %> </div> <div class="item"> <%= address.label :city %> <%= address.text_field :city %> </div> <div class="item"> <%= address.label :country_id %> <%= address.collection_select :country_id, Piggybak::Country.all, :id, :name, { :selected => address.object.country_id.to_s } %> </div> <div class="item"> <%= address.label :state_id %> <%= address.collection_select :state_id, address.object.country.states, :id, :name, { :selected => address.object.state_id.to_s } %> </div> <div class="item"> <%= address.label :zip %> <%= address.text_field :zip %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
piggybak-0.2.1 | app/views/piggybak/orders/_address_form.html.erb |