Sha256: 7f4ca54ae810f3097d3f03b0b81115b386ef0ad21a90827f740af0adae7aa9ba
Contents?: true
Size: 1.01 KB
Versions: 8
Compression:
Stored size: 1.01 KB
Contents
.row .col-md-2 .col-md-8 .panel.panel-default .panel-body %p.description %label Name: = entity.name .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 .row .col-md-2 .col-md-8 .panel.panel-default .panel-heading %h4 Permissions %table.table - if entity.permissions.count > 0 - entity.permissions.each do |permission| %tr %td %a.btn-block{ href: "/_proxes/permissions/#{entity.id}" } = permission.verb = permission.pattern - else %tr %td{ colspan: 2 } No Permissions .col-md-2
Version data entries
8 entries across 8 versions & 1 rubygems