commit 9065f006d25de52dff4e1ad407c7ff5cc4e9175f parent 0ebeb3d9dc0482b324d08b017748a6054e4676c8 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Tue, 27 Dec 2011 03:37:16 +0100 add missing file Diffstat:
templates/index.html | | | 24 | ++++++++++++++++++++++++ |
1 file changed, 24 insertions(+), 0 deletions(-)
diff --git a/templates/index.html b/templates/index.html @@ -0,0 +1,24 @@ +{% extends "page.html" %} + +{% block body %} + <form method="GET" action="query" id="bigform"> + <label for="query">French word to get rhymes for:</label><br /> + <input id="query" name="query" + placeholder="word" + value="{{ q }}"/><br /> + <label for="nsyl">Number of syllables of the rhymes:<br /> + (Leave blank to get all rhymes.)</label><br /> + <input id="nsyl" name="nsyl" + placeholder="n_syllables" + value="{{ nsyl }}"/><br /> + <label id="gender_label"> + <input type="checkbox" id="gender" name="gender" + {% if (mode != 'query') or gender == 'on' %} + checked="{{ gender }}" + {% endif %} + /> + Only rhymes of matching gender?</label><br /> + <input id="submit" type="submit" value="Search" /> + </form> +{% endblock %} +