Sha256: ad17c17d7f3d1f8077f9dcefb50986bfc7fa5498e0d931c05d60fca680e61c53

Contents?: true

Size: 815 Bytes

Versions: 1

Compression:

Stored size: 815 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(text)
.contact-sidebar
  = render 'sidebar'

Version data entries

1 entries across 1 versions & 1 rubygems

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