Sha256: cff39d8886ddc917c631af587458bdb8753700b789a61764f4d318b5c2078b6b

Contents?: true

Size: 879 Bytes

Versions: 1

Compression:

Stored size: 879 Bytes

Contents

.row
  .col-md-12
    .panel.panel-default
      .panel-body
        = haml :'partials/search'
      %table.table.table-striped
        %thead
          %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.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

1 entries across 1 versions & 1 rubygems

Version Path
ditty-0.8.0 views/user_login_traits/index.haml