wordle/templates/home.html

9 lines
358 B
HTML
Raw Normal View History

2022-01-18 21:52:14 +01:00
{% include "layout.html" %}
{% block body %}
<a href="{{url_for('init_random_game')}}">Random game</a>
<form method="post" action="{{url_for('init_deterministic_game')}}">
2022-01-18 22:13:06 +01:00
<label>Deterministic (0 to {{ num_games }})</label>
2022-01-18 21:52:14 +01:00
<input type="number" min="0" max="{{ num_games }}" name="game_id" autofocus/>
<input type="submit">
</form>
{% endblock %}