diff options
Diffstat (limited to 'templates/beerpage.jinja2')
-rw-r--r-- | templates/beerpage.jinja2 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/beerpage.jinja2 b/templates/beerpage.jinja2 new file mode 100644 index 0000000..f743d1b --- /dev/null +++ b/templates/beerpage.jinja2 @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% block content %} + <div id="title" class="text-center"> + <h2>{{ beer_data['name'] if beer_data != None else 'DELICOUS BEER' }}</h2> + </div> + <div id="stats"> + <table class="table"> + <tr> + <th scope="col">Parent Style</th> + <th scope="col">Specific Style</th> + <th scope="col">Alcohol by Volume </th> + </tr> + <tr> + <td>{{ beer_data['parent_style'] if beer_data != None else 'ASS BEER' }}</td> + <td>{{ beer_data['parent_style'] if beer_data != None else 'TURBO ASS BEER' }}</td> + <td>{{ beer_data['parent_style'] if beer_data != None else 'BETWEEN 0 and 100' }}</td> + </tr> + </table> + </div> +{% endblock %}
\ No newline at end of file |