Sha256: 23228ac235b8fc32c33009ee1c6fd654b6c20049707c80a16b7eb837839b8b6a
Contents?: true
Size: 835 Bytes
Versions: 2
Compression:
Stored size: 835 Bytes
Contents
.row .col-md-12 = haml :'partials/search' %table.table.table-striped.table-bordered.table-hover %thead.thead-dark %tr %th= "Name#{sort_ui(:name)}" %th Parent %th %tbody - if list.count > 0 - list.all.each do |entity| %tr %td %a{ href: "#{base_path}/#{entity.display_id}" }= entity.name %td %a{ href: "#{base_path}/#{entity.parent_id}" }= entity.parent&.name || '(None)' %td - if policy(entity).update? %a{ href: "#{base_path}/#{entity.display_id}/edit", title: 'Edit' } %i.fa.fa-edit - else %tr %td.text-center{ colspan: 3 } No Roles - if list.count > 0 = pagination(list, base_path)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ditty-0.10.2 | views/roles/index.haml |
ditty-0.10.1 | views/roles/index.haml |