Adjust attribute names

This commit is contained in:
Maximilian Grundke
2018-03-14 08:42:49 +01:00
parent 68d3fd174e
commit 1bf2757c44
2 changed files with 10 additions and 10 deletions

View File

@@ -2,8 +2,8 @@
#statistics-container
- statistics_data.each do | section |
h2 = section[:name]
.statistics-wrapper
.statistics-wrapper data-key=section[:key]
- section[:entries].each do | entry |
div
.title = entry[:title]
div data-key=entry[:key]
.title = entry[:name]
.data = entry[:data].to_s + (entry[:unit] or '')