Sha256: 2e0513a30efb31ff1834f6cd27508d3dddbaf6c3e5f87fe02a575f92cbc153bf

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 Bytes

Contents

<%= render 'spree/shared/error_messages', target: @address %>
<div class="col-lg-6 offset-lg-3">
  <h3 class="spree-header spree-mb-large spree-mt-large"><%= Spree.t(:new_address, scope: :address_book) %></h3>
  <%= form_for @address, url: spree.addresses_path, html: { id: 'checkout_form_address' } do |f| %>
  <div class="form-group checkout-content-inner-field mb-5 has-float-label">
    <%= f.text_field :label, class: 'spree-flat-input', placeholder: Spree.t(:address_name_placeholder, scope: :address_book) %>
    <%= f.label :address_name, Spree.t(:label, scope: :address_book) %>
  </div>
    <%= render 'spree/addresses/form',
      address_name: 'address',
      address_form: f,
      address_type: 'shipping',
      address: @address %>

    <%= f.submit t(:save, scope: :address_book), class: 'btn btn-primary btn-block spree-btn mb-5' %>
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_frontend-4.7.0 app/views/spree/addresses/new.html.erb
spree_frontend-4.6.0 app/views/spree/addresses/new.html.erb