Sha256: 621f8e1fff3dbfdd3d8d4284166c4488da785f10973f9baa72bcb1dbf1cc6de1

Contents?: true

Size: 996 Bytes

Versions: 1

Compression:

Stored size: 996 Bytes

Contents

= render 'who', :record => record

- if record.users.any?
  .contact-phone-numbers
    - record.users.each do |user|
      .contact-email
        = '* ' if contact_user_subscribed_to_newsletter?(user)
        = link_to(user.email, "mailto:#{user.email}")
        = "(#{user.options.type})" if user.options.type
        = "(primary)"              if user.primary?

- if record.phone_number_attributes.any?
  .contact-phone-numbers
    - record.phone_number_attributes.each do |phone_number_attribute|
      .contact-phone-number= phone_number_attribute

- if record.instant_messaging_handle_attributes.any?
  .contact-im-handles
    - record.instant_messaging_handle_attributes.each do |instant_messaging_handle_attribute|
      .contact-im-handle= instant_messaging_handle_attribute

- if record.website_attributes.any?
  .contact-websites
    - record.website_attributes.each do |website_attribute|
      .contact-website
        = auto_link(website_attribute.to_s, :rel => "external nofollow")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
e9_crm-0.1.5 app/views/e9_crm/contacts/_details.html.haml