Sha256: 799ffed1cfcc120ed43e984a63eda670afb5cf70fcab6961c25cf5d90b7ee0b5

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

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

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

2 entries across 2 versions & 1 rubygems

Version Path
authz-0.0.1.alpha3 app/views/authz/business_processes/show.html.slim
authz-0.0.1.alpha2 app/views/authz/business_processes/show.html.slim