Sha256: 04046efdae67211f39f8b34c5475dfd2f4992f304c1ba175356d0adebfc9edd4

Contents?: true

Size: 659 Bytes

Versions: 8

Compression:

Stored size: 659 Bytes

Contents

.row
  .col-md-12
    .panel.panel-default
      %table.table.table-striped
        %thead
          %tr
            %th Email
            %th Name
            %th Surname
            %th Roles
        %tbody
          -list.each do |entity|
            %tr
              %td
                %a{ href: "#{base_path}/#{entity.id}" }= entity.email
              %td= entity.name
              %td= entity.surname
              %td= entity.roles_dataset.map(:name).map(&:titlecase).join(', ')
      - if policy(::ProxES::User).create?
        .panel-body.text-right
          %a.btn.btn-primary{ href: "#{base_path}/new" } New User

=pagination(list, base_path)

Version data entries

8 entries across 8 versions & 1 rubygems

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