Sha256: 3140973aadc034ea9aea65b7936e4dfe88c8e19554f67eafafd35823b80bbb6d

Contents?: true

Size: 359 Bytes

Versions: 5

Compression:

Stored size: 359 Bytes

Contents

- vcard = vcard if defined?(vcard)
- vcard ||= object.try(:vcard) if defined?(object)
- vcard ||= @vcard
- vcard ||= resource.try(:vcard) if defined?(resource)
= show_for vcard do |vcard|
  = vcard.attribute :street_address
  = vcard.attribute :extended_address
  = vcard.attribute :postal_code
  = vcard.attribute :locality
  = vcard.attribute :country_name

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_vcards-0.7.2 app/views/vcards/_show.html.haml
has_vcards-0.7.1 app/views/vcards/_show.html.haml
has_vcards-0.7.0 app/views/vcards/_show.html.haml
has_vcards-0.6.1 app/views/vcards/_show.html.haml
has_vcards-0.6.0 app/views/vcards/_show.html.haml