Sha256: ec4612c386ced567cbd8546f26b6123bf1170afc193c832e58a91e88f35438f4

Contents?: true

Size: 647 Bytes

Versions: 1

Compression:

Stored size: 647 Bytes

Contents

.addresses
  .table
    %table.data
      %thead
        %tr
          %th= t('shoppe.customers.type')
          %th= t('shoppe.customers.default')
          %th= t('shoppe.custoemrs.address')
          %th
      %tbody
        - if @addresses.empty?
          %tr.empty
            %td{:colspan => 4}= t('shoppe.customers.no_addresses')
        - else
          - for address in @addresses
            %tr
              %td= address.address_type.capitalize
              %td= boolean_tag address.default
              %td= address.full_address
              %td= link_to t('shoppe.customers.edit'), edit_customer_address_path(@customer, address)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppe-1.1.2 app/views/shoppe/customers/_addresses.html.haml