Sha256: 4976ff5cee7aaa6b526bddf63d99e751dab2baf24e9f3d38c07a163aec9087c5
Contents?: true
Size: 998 Bytes
Versions: 14
Compression:
Stored size: 998 Bytes
Contents
- if @resource.respond_to?(:roles) .panel.panel-default .panel-heading .panel-title= Ecm::Rbac::Role.model_name.human(count: :other) %table.table.table-striped.table-condensed.table-hover = render_collection(@resource.roles, Ecm::Rbac::Role, as: :bootstrap_table) do |table, record| = table.column :identifier = table.column :actions do |resource| = link_to t('.show'), url_for(resource), class: 'btn btn-primary btn-xs' .panel-footer - if @resource.respond_to?(:permissions) .panel.panel-default .panel-heading .panel-title= Ecm::Rbac::Permission.model_name.human(count: :other) %table.table.table-striped.table-condensed.table-hover = render_collection(@resource.permissions, Ecm::Rbac::Permission, as: :bootstrap_table) do |table, record| = table.column :identifier = table.column :actions do |resource| = link_to t('.show'), url_for(resource), class: 'btn btn-primary btn-xs' .panel-footer
Version data entries
14 entries across 14 versions & 1 rubygems