Sha256: bf48464c53ad3f6bc3ead3aa4b41c7e732d9f4a669a1f0a152e95f9e68ed3e98

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

<div class="address-overview">
  <h3 class="address-overview__title">
    <%= title %>
  </h3>

  <%= link_to(
    "[#{t('spree.actions.edit')}]",
    checkout_state_path(:address),
    { class: 'address-overview__edit' }
  ) unless @order.completed? %>

  <ul class="address-overview__info">
    <li><%= address.full_name %></li>
    <% unless address.company.blank? %>
      <li><%= address.company %></li>
    <% end %>
    <li><%= address.address1 %></li>
    <% unless address.address2.blank? %>
      <li><%= address.address2 %></li>
    <% end %>
    <li>
      <%= address.city %>
      <%= address.state_text %>
      <%= address.zipcode %>
    </li>
    <li><%= address.country.try(:name) %></li>
    <% unless address.phone.blank? %>
      <li>
        <%= t('spree.phone') %>
        <%= address.phone %>
      </li>
    <% end %>
    <% unless address.alternative_phone.blank? %>
      <li>
        <%= t('spree.alternative_phone') %>
        <%= address.alternative_phone %>
      </li>
    <% end %>
  </ul>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/views/spree/components/orders/_address_overview.html.erb