Sha256: a8cb9f874c9d8b0f8a40baa223436a401bdcd2799b418cbdcae10aa7600f6fd2

Contents?: true

Size: 823 Bytes

Versions: 2

Compression:

Stored size: 823 Bytes

Contents

.contact-body
  = title resource.name
  = render 'who', :record => resource
  .contact-links.actions
    = link_to_edit_resource(resource)
    = google_search_link(resource.name)
    = google_news_link(resource.name)
  - if (tags = resource.tags(:show_all => true)).present?
    .contact-tags
      %label #{Tag.model_name.human.pluralize}:
      = contact_tag_list(tags)
  .contact-info
    %label #{Contact.human_attribute_name(:info)}:
    = contact_simple_format(resource.info.presence || t(:none))
  - if company = resource.company
    .contact-company
      %label= company.name
      .contact-company-links.actions
        = google_search_link(company.name)
        = google_news_link(company.name)
      - if company.info.present?
        = contact_simple_format(company.info)
.contact-sidebar
  = render 'sidebar'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
e9_crm-0.1.8 app/views/e9_crm/contacts/show.html.haml
e9_crm-0.1.7 app/views/e9_crm/contacts/show.html.haml