MonScoDocEssai/app/templates/essais/testcheckbox.html

25 lines
596 B
HTML
Raw Normal View History

2021-07-12 22:38:30 +02:00
{% 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 %}