Sha256: 94b5dd23b8b877dc3789aa690c95e97ac127503688328e5d77e905a2f691594c
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
= content_for :nav_title do = @rolable.authz_label = content_for :nav_links do = link_to 'Edit', send("edit_#{@rolable.model_name.singular}_path", @rolable), class: 'button is-primary' section.section .container .columns .column h2.title.is-4 Roles - if @associated_roles.blank? = render 'authz/roles/empty_association', parent_edit_link: send("edit_#{@rolable.model_name.singular}_path", @rolable) - else = render 'authz/roles/table', roles: @associated_roles .column h2.title.is-4 Business Processes - if @associated_business_processes.blank? = render 'authz/business_processes/empty_association', parent_edit_link: send("edit_#{@rolable.model_name.singular}_path", @rolable) - else = render 'authz/business_processes/table', business_processes: @associated_business_processes .columns .column h2.title.is-4 Controller Actions - if @associated_controller_actions.blank? = render 'authz/controller_actions/empty_association', parent_edit_link: send("edit_#{@rolable.model_name.singular}_path", @rolable) - else = render 'authz/controller_actions/table', controller_actions: @associated_controller_actions
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
authz-0.0.1.alpha3 | app/views/authz/rolables/show.html.slim |
authz-0.0.1.alpha2 | app/views/authz/rolables/show.html.slim |