Sha256: 9f3490e8aba2628b466422195bf87f1d2a661c9b11c6269067acb0da6b885858

Contents?: true

Size: 981 Bytes

Versions: 3

Compression:

Stored size: 981 Bytes

Contents

- individual = individual || taskable

.individual-context: .context
  = context_icon :user
  = context_title individual.name
  = actions_for individual, url: customer_vault.individual_path(individual)

  = context_info individual.class.human_attribute_name(:tags),    person_tags(individual)
  = context_info individual.class.human_attribute_name(:email),   email_link(individual.email)
  = context_info individual.class.human_attribute_name(:twitter), twitter_link(individual.twitter)
  = context_info individual.class.human_attribute_name(:phone),   tel_link(individual.phone)
  = context_info individual.class.human_attribute_name(:mobile),  tel_link(individual.mobile)
  = context_info individual.class.human_attribute_name(:fax),     tel_link(individual.fax)
  = context_info individual.class.human_attribute_name(:www),     web_link(individual.www)
  = context_info individual.class.human_attribute_name(:address), individual.address.one_line if individual.address.present?

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
customer_vault-1.3.2 app/views/customer_vault/individuals/_context.html.slim
customer_vault-1.3.1 app/views/customer_vault/individuals/_context.html.slim
customer_vault-1.3.0 app/views/customer_vault/individuals/_context.html.slim