use forms
This commit is contained in:
parent
d12a21d44c
commit
460a135fa5
4 changed files with 94 additions and 27 deletions
|
@ -5,11 +5,7 @@
|
|||
<h2>Inscriptions pour BDA-Revente</h2>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
<ul>
|
||||
{% for spectacle in spectacles %}
|
||||
<li>{{spectacle}} <input type="checkbox" name="spect_id" value="{{spectacle.id}}" {% if spectacle.am_interested %}checked{%endif%}></li>
|
||||
{%endfor%}
|
||||
</ul>
|
||||
{{form}}
|
||||
<input type="submit" value="S'inscrire pour les places sélectionnées">
|
||||
</form>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue