Sha256: 072e0ee79a2c69ec136686ae6f46615e82609ac9252be1f491cec5e9ee8e4e3d

Contents?: true

Size: 1.01 KB

Versions: 55

Compression:

Stored size: 1.01 KB

Contents

<div data-hook="bill_address_wrapper" class="alpha six columns">
  <fieldset class="no-border-bottom">
    <legend align="center"><%= Spree.t(:billing_address) %></legend>
    <%= f.fields_for :bill_address, (@user.bill_address || Spree::Address.default(@user, "bill")) do |ba_form| %>
      <% ba_form.object ||= Spree::Address.new(country: Spree::Country.new) %>
      <%= render :partial => 'spree/admin/shared/address_form', :locals => { :f => ba_form, :type => "billing" } %>
    <% end %>
  </fieldset>
</div>

<div data-hook="ship_address_wrapper" class="alpha six columns">
  <fieldset class="no-border-bottom">
    <legend align="center"><%= Spree.t(:shipping_address) %></legend>
    <%= f.fields_for :ship_address, (@user.ship_address || Spree::Address.default(@user, "ship")) do |sa_form| %>
      <% sa_form.object ||= Spree::Address.new(country: Spree::Country.new) %>
      <%= render :partial => 'spree/admin/shared/address_form', :locals => { :f => sa_form, :type => "shipping" } %>
    <% end %>
  </fieldset>
</div>

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
solidus_backend-1.0.7 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.6 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.5 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.4 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.3 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.2 app/views/spree/admin/users/_addresses_form.html.erb
spree_backend-2.4.10 app/views/spree/admin/users/_addresses_form.html.erb
spree_backend-2.3.13 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.1 app/views/spree/admin/users/_addresses_form.html.erb
spree_backend-2.2.14 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.0 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.0.rc2 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.0.rc1 app/views/spree/admin/users/_addresses_form.html.erb
spree_backend-2.4.9 app/views/spree/admin/users/_addresses_form.html.erb
spree_backend-2.3.12 app/views/spree/admin/users/_addresses_form.html.erb
spree_backend-2.2.13 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.0.pre3 app/views/spree/admin/users/_addresses_form.html.erb
solidus_backend-1.0.0.pre2 app/views/spree/admin/users/_addresses_form.html.erb
spree_backend-2.4.8 app/views/spree/admin/users/_addresses_form.html.erb
spree_backend-2.3.11 app/views/spree/admin/users/_addresses_form.html.erb