Sha256: 32448edf0dbb809b43b97ac0f1c4d0d00e374dab37805ae37d7c4dc9709c18a6

Contents?: true

Size: 1.06 KB

Versions: 29

Compression:

Stored size: 1.06 KB

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.send(type), :id, :name, { :selected => address.object.country_id.to_s } %>
</div>
<div class="item">
	<%= address.label :state_id %>
	<% if address.object.country.states.any? -%>
	<%= address.collection_select :state_id, address.object.country.states, :id, :name, { :selected => address.object.state_id.to_s } %>
	<% else -%>
	<%= address.text_field :state_id %>
	<% end -%>
</div>
<div class="item">
	<%= address.label :zip %>
	<%= address.text_field :zip %>
</div>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
piggybak-0.4.24 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.23 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.22 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.21 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.20 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.19 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.18 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.17 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.16 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.15 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.14 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.13 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.12 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.11 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.10 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.9 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.8 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.7.1 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.7 app/views/piggybak/orders/_address_form.html.erb
piggybak-0.4.6 app/views/piggybak/orders/_address_form.html.erb