Sha256: 3de178b63c81ebaf989eb447abd454af2a7bdb9b258eb3c010234bf157423801

Contents?: true

Size: 543 Bytes

Versions: 8

Compression:

Stored size: 543 Bytes

Contents

.row
  .col-md-12
    .panel.panel-default
      %table.table.table-striped
        %thead
          %tr
            %th Name
            %th Permissions
        %tbody
          -list.each do |entity|
            %tr
              %td
                %a{ href: "#{base_path}/#{entity.id}" }= entity.name
              %td
                = entity.permissions_dataset.count
      - if policy(::ProxES::Role).create?
        .panel-body.text-right
          %a.btn.btn-primary{ href: "#{base_path}/new" } New Role

=pagination(list, base_path)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
proxes-0.7.1 views/roles/index.haml
proxes-0.7.0 views/roles/index.haml
proxes-0.6.1 views/roles/index.haml
proxes-0.6.0 views/roles/index.haml
proxes-0.5.2 views/roles/index.haml
proxes-0.5.1 views/roles/index.haml
proxes-0.5.0 views/roles/index.haml
proxes-0.4.4 views/roles/index.haml