Sha256: 2e71b7204ce058c66e29babf03818d6a06893efa4bd718d213068b3850b3e91e

Contents?: true

Size: 438 Bytes

Versions: 4

Compression:

Stored size: 438 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

=pagination(list, base_path)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ditty-0.7.2 views/roles/index.haml
ditty-0.7.1 views/roles/index.haml
ditty-0.7.0 views/roles/index.haml
ditty-0.7.0.pre.rc1 views/roles/index.haml