Sha256: f8f6d5a0afcd7eac1ae9fc7c9bebcc0d062b3f959d4890d2ab72297e46d0233a

Contents?: true

Size: 431 Bytes

Versions: 11

Compression:

Stored size: 431 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

- if address.try(:address3).present?
  = address.address3
  %br

= [address.city.presence, address.state_code.presence, ' ' + address.postal_code.presence].compact.join(' ').html_safe

%br
= address.country.to_s

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_addresses-1.11.5 app/views/effective/addresses/_address.html.haml
effective_addresses-1.11.2 app/views/effective/addresses/_address.html.haml
effective_addresses-1.11.1 app/views/effective/addresses/_address.html.haml
effective_addresses-1.11.0 app/views/effective/addresses/_address.html.haml
effective_addresses-1.10.4 app/views/effective/addresses/_address.html.haml
effective_addresses-1.10.3 app/views/effective/addresses/_address.html.haml
effective_addresses-1.10.2 app/views/effective/addresses/_address.html.haml
effective_addresses-1.10.1 app/views/effective/addresses/_address.html.haml
effective_addresses-1.10.0 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.11 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.10 app/views/effective/addresses/_address.html.haml