Show all columns of log records
This commit is contained in:
parent
6b54bc2847
commit
6c1b1130d7
1 changed files with 9 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue