diff options
Diffstat (limited to 'templates/Homepage.jinja2')
-rw-r--r-- | templates/Homepage.jinja2 | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/templates/Homepage.jinja2 b/templates/Homepage.jinja2 index cad512e..191d591 100644 --- a/templates/Homepage.jinja2 +++ b/templates/Homepage.jinja2 @@ -1,16 +1,12 @@ {% extends "base.html" %} {% block content %} -<h3> {{ item[0] }}</h3> -<div> - <ul> - <li> - Beer Parent: {{ item[1][0] }} - </li> - <li> - SubType: {{ item[1][1] }} - </li> - </ul> - <br/> - How Blasted is I be: {{ item[2] }} -</div> -{% endblock %}
\ No newline at end of file +<h1>SimilarBeer</h1> +<form action="/similar" method="post"> + <div> + <label for="q"><strong>Tell us a beer you like:</strong></label><br> + <input type="text" id="q" list="beers" autofocus> + </div> + <input type="submit" value="Show me others!"> +</form> +<p><a href="/random">Random Beer</a></p> +{% endblock %} |