Sha256: 8ef33a8ea7a44e4c704857df95d86ca2804707b2410765392793e04fed854a0d
Contents?: true
Size: 922 Bytes
Versions: 57
Compression:
Stored size: 922 Bytes
Contents
- if @resource.respond_to?(:roles) .panel.panel-default .panel-heading .panel-title= Cmor::Rbac::Role.model_name.human(count: :other) %table.table.table-striped.table-condensed.table-hover = collection_table(collection: @resource.roles) do |table| = 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= Cmor::Rbac::Permission.model_name.human(count: :other) %table.table.table-striped.table-condensed.table-hover = collection_table(collection: @resource.permissions) do |table| = 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
57 entries across 57 versions & 1 rubygems