Sha256: 108e520fba89318f6c2ddb02371b6403cb49ad8b88a721f26e24f68917d0377b
Contents?: true
Size: 1.13 KB
Versions: 2
Compression:
Stored size: 1.13 KB
Contents
= content_for :nav_title do = @controller_action.to_s = content_for :nav_links do .buttons = link_to 'Edit', edit_controller_action_path(@controller_action), class: 'button is-primary' = link_to 'Destroy', controller_action_path(@controller_action), method: :delete, class: 'button is-danger', data: { confirm: '¿Are you sure? This action is undoable' } section.section .columns .column - if @associated_business_processes.blank? = render 'authz/business_processes/empty_association', parent_edit_link: edit_controller_action_path(@controller_action) - else h2.title.is-4 Business Processes = render 'authz/business_processes/table', business_processes: @associated_business_processes .column - if @associated_roles.blank? = render 'authz/roles/empty_association', parent_edit_link: edit_controller_action_path(@controller_action) - else h2.title.is-4 Roles = render 'authz/roles/table', roles: @associated_roles - Authz.rolables.each do |rolable| = render 'authz/rolables/table_from_association', rolable: rolable, parent_instance: @controller_action
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
authz-0.0.1.alpha3 | app/views/authz/controller_actions/show.html.slim |
authz-0.0.1.alpha2 | app/views/authz/controller_actions/show.html.slim |