Sha256: e5862b8287316a8e615d903e67348dae87cfd1ce497fb3f613a0b0f075b97ba5

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 Bytes

Contents

- vcard = vcard if defined?(vcard)
- vcard ||= reference.try(:vcard) if defined?(reference)
- vcard ||= @vcard
- vcard ||= resource.try(:vcard) if defined?(resource)
= show_for vcard do |vcard|
  = vcard.attribute :extended_address
  = vcard.attribute :street_address
  = vcard.attribute :post_office_box
  = 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-1.1.2 app/views/has_vcards/vcards/_show.html.haml
has_vcards-1.1.1 app/views/has_vcards/vcards/_show.html.haml
has_vcards-1.1.0 app/views/has_vcards/vcards/_show.html.haml
has_vcards-1.0.0 app/views/has_vcards/vcards/_show.html.haml
has_vcards-1.0.0.rc0 app/views/has_vcards/vcards/_show.html.haml