Module: ODDB::View::VCardMethods

Included in:
Doctors::DoctorComposite, Doctors::DoctorList, Hospitals::HospitalComposite, Hospitals::HospitalInnerComposite, Hospitals::HospitalList
Defined in:
src/view/address.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) vcard(model)



25
26
27
28
29
30
31
# File 'src/view/address.rb', line 25

def vcard(model)
  link = HtmlGrid::Link.new(:vcard, model, @session, self)
  args = {:pointer => model.pointer}
  link.href = @lookandfeel._event_url(:vcard, args)
  link.css_class = 'list'
  link
end