Sha256: c6e265ca09770e78adb35d8a441f28966092805613b706d5f88dab10daf3b518

Contents?: true

Size: 363 Bytes

Versions: 36

Compression:

Stored size: 363 Bytes

Contents

- if address.full_name.present?
  = address.full_name
  %br

- if defined?(email) && email.present?
  = mail_to(email)
  %br

= address.address1
%br
- if address.address2.present?
  = address.address2
  %br
= [address.city.presence, address.state_code.presence, ' ' + address.postal_code.presence].compact.join(' ').html_safe
%br
= address.country.to_s

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
effective_addresses-1.8.3 app/views/effective/addresses/_address.html.haml
effective_addresses-1.8.2 app/views/effective/addresses/_address.html.haml
effective_addresses-1.8.1 app/views/effective/addresses/_address.html.haml
effective_addresses-1.8.0 app/views/effective/addresses/_address.html.haml
effective_addresses-1.7.4 app/views/effective/addresses/_address.html.haml
effective_addresses-1.7.3 app/views/effective/addresses/_address.html.haml
effective_addresses-1.7.2 app/views/effective/addresses/_address.html.haml
effective_addresses-1.7.1 app/views/effective/addresses/_address.html.haml
effective_addresses-1.7.0 app/views/effective/addresses/_address.html.haml
effective_addresses-1.6.3 app/views/effective/addresses/_address.html.haml
effective_addresses-1.6.2 app/views/effective/addresses/_address.html.haml
effective_addresses-1.6.1 app/views/effective/addresses/_address.html.haml
effective_addresses-1.6.0 app/views/effective/addresses/_address.html.haml
effective_addresses-1.5.1 app/views/effective/addresses/_address.html.haml
effective_addresses-1.5.0 app/views/effective/addresses/_address.html.haml
effective_addresses-1.4.1 app/views/effective/addresses/_address.html.haml
effective_addresses-1.4.0 app/views/effective/addresses/_address.html.haml
effective_addresses-1.3.9 app/views/effective/addresses/_address.html.haml
effective_addresses-1.3.8 app/views/effective/addresses/_address.html.haml
effective_addresses-1.3.7 app/views/effective/addresses/_address.html.haml