diff options
Diffstat (limited to 'cgi/whisky-shelf.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"]}") |
