Flask-Workshop/templates/starter.html

15 lines
477 B
HTML

<html>
<head>
<title>Choose your starter:</title>
</head>
<body>
{% if choice == None %}
Choose your starter:
<p><a href="{{ url_for('starter', choice='Bulbasaur') }}">Bulbasaur</a></p>
<p><a href="{{ url_for('starter', choice='Charmander') }}">Charmander</a></p>
<p><a href="{{ url_for('starter', choice='Squirtle') }}">Squirtle</a></p>
{% else %}
You chose {{ choice }}!
{% endif %}
</body>
</html>