diff options
| author | Nat Lasseter <user@4574.co.uk> | 2025-10-04 21:22:55 +0100 |
|---|---|---|
| committer | Nat Lasseter <user@4574.co.uk> | 2025-10-04 21:22:55 +0100 |
| commit | 03ecf021cf3b16f7243ba1cd830111508b048521 (patch) | |
| tree | 15f82968a58bcbf7364a0b19d8b674cc748f8cf3 /cgi | |
| parent | 9f2b709b9b7f7ea7c54bfd811c362940bf30bbf6 (diff) | |
CSS rage
Diffstat (limited to 'cgi')
| -rw-r--r-- | cgi/whisky-shelf.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/whisky-shelf.cgi b/cgi/whisky-shelf.cgi index 79e2b70..668be4b 100644 --- a/cgi/whisky-shelf.cgi +++ b/cgi/whisky-shelf.cgi @@ -2,7 +2,7 @@ require "json" def shelf_contents(data) data.map { |bottle| - $cgi.div(class: "shelf") { + $cgi.div(class: "bottle") { $cgi.h3 { bottle["name"] } + $cgi.img(class: "bottle", src: "shelf/#{bottle["image"]}") |
