forked from DGNum/gestioCOF
24 lines
710 B
HTML
24 lines
710 B
HTML
|
{% extends "base_title.html" %}
|
||
|
{% load staticfiles %}
|
||
|
|
||
|
{% block realcontent %}
|
||
|
<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>
|
||
|
<input type="submit" value="S'inscrire pour les places sélectionnées">
|
||
|
</form>
|
||
|
|
||
|
{% if shotgun %}
|
||
|
<h2>Places disponibles immédiatement</h2>
|
||
|
<ul>
|
||
|
{% for spectacle in shotgun %}
|
||
|
<li><a href="{% url "bda-buy-revente" spectacle.id %}">{{spectacle}}</a></li>
|
||
|
{% endfor %}
|
||
|
{% endif %}
|
||
|
{% endblock %}
|