Sha256: ce3cf0bf905f83f303970d2725e086792814b36d68d41d6f42ba8e422f6ce7b3
Contents?: true
Size: 577 Bytes
Versions: 10
Compression:
Stored size: 577 Bytes
Contents
.row .col-md-12 .panel.panel-default %table.table.table-striped %thead %tr %th Name %tbody - if list.count > 0 - list.all.each do |entity| %tr %td %a{ href: "#{base_path}/#{entity.id}" }= entity.name - else %tr %td.text-center{ colspan: 1 } No records - if policy(::Ditty::Role).create? .panel-body.text-right %a.btn.btn-primary{ href: "#{base_path}/new" } New Role =pagination(list, base_path)
Version data entries
10 entries across 10 versions & 1 rubygems