Sha256: 3afbe0dfcd214d924f3196a274f639c35dacbbaa68a9825fd8279b67720ecae5

Contents?: true

Size: 696 Bytes

Versions: 1

Compression:

Stored size: 696 Bytes

Contents

.row
  .col-md-2
  .col-md-8
    .panel.panel-default
      .panel-heading
        %h4 Logins
      %table.table
        %thead
          %tr
            %th IP Address
            %th Device
            %th Platform
            %th Browser
            %th Last Seen
        %tbody
          - if user_login_traits.count.positive?
            - user_login_traits.each do |trait|
              %tr
                %td= trait.ip_address
                %td= trait.device
                %td= trait.platform
                %td= trait.browser
                %td= trait.updated_at.strftime('%F %T')
          - else
            %tr
              %td.text-center{ colspan: 5 } No Records
  .col-md-2

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ditty-0.8.0 views/users/login_traits.haml