aboutsummaryrefslogtreecommitdiff
path: root/templates/beerpage.jinja2
diff options
context:
space:
mode:
authorBen Cohen <ben@kensho.com>2019-07-28 16:26:04 -0400
committerBen Cohen <ben@kensho.com>2019-07-28 16:26:04 -0400
commitf1a44fc571afb53feb6b4508f6d2e76aee67d344 (patch)
tree7dabea5b3587f26fdbe80964b5c4e5239ff24a8a /templates/beerpage.jinja2
parentd23fa5cda7eb9368c843fa02b6e2b04f08293673 (diff)
foobar
Diffstat (limited to 'templates/beerpage.jinja2')
-rw-r--r--templates/beerpage.jinja213
1 files changed, 10 insertions, 3 deletions
diff --git a/templates/beerpage.jinja2 b/templates/beerpage.jinja2
index aa45409..ed2bdb4 100644
--- a/templates/beerpage.jinja2
+++ b/templates/beerpage.jinja2
@@ -223,11 +223,18 @@ function drawAnnotations() {
{% if attr_beers %}
<h5>Beers like {{ beer_data.name }} but {{ direction }} {{ attr }}</h5>
- <ul>
+ <table>
+ <tr><td>Beer</td>
+ <td>Style</td>
+ <td>ABV</td> </tr>
{% for attr_beer in attr_beers %}
- <li><a href="{{ attr_beer.link }}" >{{ attr_beer.name }}</a></li>
+ <tr>
+ <td><a href="{{ attr_beer.link }}" >{{ attr_beer.brewer }} - {{ attr_beer.name }}</a></td>
+ <td>{{attr_beer.base_style}}</td>
+ <td>{{attr_beer.abv}}</td>
+ </tr>
{% endfor %}
- </ul>
+ </table>
{% endif %}
{% if style_beers %}