2023-01-30 22:25:17 +01:00
|
|
|
{% extends 'base.j2' %}
|
2021-07-12 22:38:30 +02:00
|
|
|
|
|
|
|
{% 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 %}
|