Sha256: 134952970dda34d13a97fb7a35c2c04009ae68aa844ab31a9fa5210aad5e73bf

Contents?: true

Size: 459 Bytes

Versions: 13

Compression:

Stored size: 459 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.respond_to?(:address3) && address.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

13 entries across 13 versions & 1 rubygems

Version Path
effective_addresses-1.9.9 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.8 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.7 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.6 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.5 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.4 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.3 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.2 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.1 app/views/effective/addresses/_address.html.haml
effective_addresses-1.9.0 app/views/effective/addresses/_address.html.haml
effective_addresses-1.8.6 app/views/effective/addresses/_address.html.haml
effective_addresses-1.8.5 app/views/effective/addresses/_address.html.haml
effective_addresses-1.8.4 app/views/effective/addresses/_address.html.haml