wordle/templates/home.html

9 lines
368 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 23:01:23 +01:00
<input type="number" min="0" max="{{ num_games }}" name="{{ KEY_GAME_ID }}" autofocus/>
2022-01-18 21:52:14 +01:00
<input type="submit">
</form>
{% endblock %}