Sha256: e5bc4e4dc2b8cdfbd0bb25579b0700d0a4b40645856ea175dd72af3959df1303

Contents?: true

Size: 828 Bytes

Versions: 20

Compression:

Stored size: 828 Bytes

Contents

.row
  .col-md-2
  .col-md-8
    .panel.panel-default
      .panel-body
        %p.description
          %label Role:
          = entity.role ? entity.role.name : 'None'
        %p.description
          %label User:
          = entity.user ? entity.user.username : 'None'
        %p.description
          %label Verb:
          = entity.verb
        %p.description
          %label Pattern:
          = entity.pattern

        .row
          .col-md-6
            %a.btn.btn-default{ href: "#{base_path}/#{entity.id}/edit" } Edit
          .col-md-6.text-right
            - if policy(entity).delete?
              %form{ method: 'post', action: "#{base_path}/#{entity.id}" }
                %input{ name: '_method', value: 'DELETE', type: 'hidden' }
                %button.btn.btn-warning{ type: 'submit' } Delete
  .col-md-2

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
proxes-0.9.7 views/permissions/display.haml
proxes-0.9.4 views/permissions/display.haml
proxes-0.9.2 views/permissions/display.haml
proxes-0.9.1 views/permissions/display.haml
proxes-0.9.0 views/permissions/display.haml
proxes-0.8.6 views/permissions/display.haml
proxes-0.8.5 views/permissions/display.haml
proxes-0.8.4 views/permissions/display.haml
proxes-0.8.3 views/permissions/display.haml
proxes-0.8.2 views/permissions/display.haml
proxes-0.8.1 views/permissions/display.haml
proxes-0.8.0 views/permissions/display.haml
proxes-0.7.1 views/permissions/display.haml
proxes-0.7.0 views/permissions/display.haml
proxes-0.6.1 views/permissions/display.haml
proxes-0.6.0 views/permissions/display.haml
proxes-0.5.2 views/permissions/display.haml
proxes-0.5.1 views/permissions/display.haml
proxes-0.5.0 views/permissions/display.haml
proxes-0.4.4 views/permissions/display.haml