Show all columns of log records

This commit is contained in:
Christoph Haas 2018-08-10 16:21:12 +02:00
parent 6b54bc2847
commit 6c1b1130d7

View file

@ -3,6 +3,7 @@
.small-6.medium-8.large-9.cell
// Paginator
= render 'admin/logs/paginator'
h1 Logs
.small-6.medium-4.large-3.cell
// Search form
@ -16,10 +17,18 @@
tr
th Timestamp
th Message
th Level
th Section
th IP address
th Session token
- @logs.each do |log|
tr
td =log.created_at
td =log.message
td =log.level
td =log.section
td =log.ip_address
td =log.token
- else
p No logs found. Crazy.