Sha256: f58e7d10fb8ed82999f0eb6f5429c460a4a8905e07502aad13316d86656feb37

Contents?: true

Size: 644 Bytes

Versions: 1

Compression:

Stored size: 644 Bytes

Contents

- person = person || taskable

.context
  .context-header
    = icon(:users) if person.corporation?
    = icon(:user)  if person.individual?
    = " "
    = person

  .context-body
    p.text-center = avatar_img(person)
    = render "dorsale/customer_vault/people/context_general", person: person
    hr
    = render "dorsale/customer_vault/people/context_address", person: person
    hr
    = render 'dorsale/customer_vault/people/context_social', person: person

  .context-footer
    = actions_for(person)

- if person.individual? && person.corporation.present?
  = render "dorsale/customer_vault/people/context", person: person.corporation

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dorsale-3.5.1 app/views/dorsale/customer_vault/people/_context.html.slim