Sha256: 03e9daf5ca354261ce951733aa6f7f28652fdd7e35c9698a86db62404b1d946f

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

- corporation = corporation || taskable

.corporation-context: .context
  = context_icon :users
  = context_title corporation.name
  = actions_for corporation, url: customer_vault.corporation_path(corporation)

  = context_info corporation.class.human_attribute_name(:tags),    person_tags(corporation)
  = context_info corporation.class.human_attribute_name(:email),   email_link(corporation.email)
  = context_info corporation.class.human_attribute_name(:phone),   tel_link(corporation.phone)
  = context_info corporation.class.human_attribute_name(:fax),     tel_link(corporation.fax)
  = context_info corporation.class.human_attribute_name(:capital), corporation.capital.to_s

  = context_info corporation.class.human_attribute_name(:immatriculation_number_1), corporation.immatriculation_number_1
  = context_info corporation.class.human_attribute_name(:immatriculation_number_2), corporation.immatriculation_number_2
  = context_info corporation.class.human_attribute_name(:legal_form), corporation.legal_form

  = context_info corporation.class.human_attribute_name(:www), web_link(corporation.www)

  = context_info corporation.class.human_attribute_name(:address), corporation.address.one_line if corporation.address.present?

Version data entries

3 entries across 3 versions & 1 rubygems

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