{% extends 'base.html' %}

{% block app_content %}

<h1>Essai checkbox</h1>

<p>
    <tt>request.args={{ request.args }}</tt>
</p>
<form method="get">
    <fieldset>
        <legend>Choose your interests</legend>
        <div>
            <input type="checkbox" id="coding" name="interest" value="coding">
            <label for="coding">Coding</label>
        </div>
        <div>
            <input type="checkbox" id="music" name="interest" value="music">
            <label for="music">Music</label>
        </div>
    </fieldset>
    <input type="submit" name="OK" />
</form>

{% endblock %}