Sha256: 4aa95fff83d94277320e53f4aa612b2229a79be95e2a25c2bde82da4527d1e62
Contents?: true
Size: 922 Bytes
Versions: 9
Compression:
Stored size: 922 Bytes
Contents
.row .col-md-12 .panel.panel-default .panel-body = haml :'partials/search' %table.table.table-striped %thead %tr %th Role %th User %th Permission %tbody - if list.count > 0 - list.all.each do |entity| %tr %td = entity.role ? entity.role.name : 'None' %td = entity.user ? entity.user.username : 'None' %td %a.btn-block{ href: "#{base_path}/#{entity.id}" } = entity.verb = entity.pattern - else %tr %td.text-center{ colspan: 3 } No records - if policy(::ProxES::Permission).create? .panel-body.text-right %a.btn.btn-primary{ href: "#{base_path}/new" } New Permission =pagination(list, base_path)
Version data entries
9 entries across 9 versions & 1 rubygems