Sha256: eac9aafc162120bd017a15d17c5abd495c59e9d27e9ce03d60dd6aaa002a9a8e

Contents?: true

Size: 1.28 KB

Versions: 7

Compression:

Stored size: 1.28 KB

Contents

= content_for :nav_title do
  = @business_process.name.titleize
= content_for :nav_links do
  .buttons
    = authz_link_to 'Edit', edit_business_process_path(@business_process), { class: 'button is-primary' }, skip_scoping:  true
    = authz_link_to 'Destroy',
                    business_process_path(@business_process),
                    { method: :delete,
                      class: 'button is-danger',
                      data: { confirm: '¿Are you sure? This action is undoable' } },
                    skip_scoping:  true

section.section
  .columns
    .column
      h2.title.is-4 Controller Actions
      - if @associated_controller_actions.blank?
        = render 'authz/controller_actions/empty_association', parent_edit_link: edit_business_process_path(@business_process)
      - else
        = render 'authz/controller_actions/table', controller_actions: @associated_controller_actions
    .column
      h2.title.is-4 Roles
      - if @associated_roles.blank?
        = render 'authz/roles/empty_association', parent_edit_link: edit_business_process_path(@business_process)
      - else
        = render 'authz/roles/table', roles: @associated_roles
  - Authz.rolables.each do |rolable|
    = render 'authz/rolables/table_from_association', rolable: rolable, parent_instance: @business_process

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authz-0.0.5 app/views/authz/business_processes/show.html.slim
authz-0.0.4 app/views/authz/business_processes/show.html.slim
authz-0.0.3 app/views/authz/business_processes/show.html.slim
authz-0.0.2 app/views/authz/business_processes/show.html.slim
authz-0.0.1 app/views/authz/business_processes/show.html.slim
authz-0.0.1.alpha5 app/views/authz/business_processes/show.html.slim
authz-0.0.1.alpha4 app/views/authz/business_processes/show.html.slim