Sha256: b3aaaeb046a4e78d15e4af3e89ef39ce7f5904ed4334b191e832b030b2c33d74

Contents?: true

Size: 895 Bytes

Versions: 2

Compression:

Stored size: 895 Bytes

Contents

.row
  .col-md-12
    .card.card-default
      .card-body
        = haml :'partials/search'
      %table.table.table-striped
        %thead.thead-dark
          %tr
            %th User
            %th IP Address
            %th Device
            %th Platform
            %th Browser
            %th Last Seen
        %tbody
          - if list.count.positive?
            - list.all.each do |entity|
              %tr
                %td= entity.user&.email || 'Unknown'
                %td
                  %a{ href: "#{base_path}/#{entity.display_id}" }= entity.ip_address || 'Unknown'
                %td= entity.device || 'Unknown'
                %td= entity.platform || 'Unknown'
                %td= entity.browser || 'Unknown'
                %td= entity.updated_at
          - else
            %tr
              %td.text-center{ colspan: 6 } No records

=pagination(list, base_path)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ditty-0.9.1 views/user_login_traits/index.haml
ditty-0.9.0 views/user_login_traits/index.haml