Sha256: 3ed2d3420d4b2d891fd05be16bcbbfd3ae0c09b334a291de29d26821ee3b59c7

Contents?: true

Size: 379 Bytes

Versions: 8

Compression:

Stored size: 379 Bytes

Contents

- if policy(::Dorsale::CustomerVault::Person).create?
  = create_button dorsale.new_customer_vault_individual_path, action: :new_individual
  = create_button dorsale.new_customer_vault_corporation_path, action: :new_corporation

- if @people_without_pagination && policy(::Dorsale::CustomerVault::Person).export?
  = download_button url_for(format: :xls), download: "people.xls"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dorsale-3.1.7 app/views/dorsale/customer_vault/people/_actions.html.slim
dorsale-3.1.6 app/views/dorsale/customer_vault/people/_actions.html.slim
dorsale-3.1.5 app/views/dorsale/customer_vault/people/_actions.html.slim
dorsale-3.1.4 app/views/dorsale/customer_vault/people/_actions.html.slim
dorsale-3.1.3 app/views/dorsale/customer_vault/people/_actions.html.slim
dorsale-3.1.2 app/views/dorsale/customer_vault/people/_actions.html.slim
dorsale-3.1.1 app/views/dorsale/customer_vault/people/_actions.html.slim
dorsale-3.1.0 app/views/dorsale/customer_vault/people/_actions.html.slim