kpsul/bda/templates/liste-reventes.html

24 lines
771 B
HTML
Raw Normal View History

2016-07-25 02:52:49 +02:00
{% extends "base_title.html" %}
2016-09-03 18:47:38 +02:00
{% load bootstrap %}
2016-07-25 02:52:49 +02:00
{% block realcontent %}
<h2>Inscriptions pour BDA-Revente</h2>
{% if deja_revente %}
<p class="success">Des reventes existent déjà pour certains de ces spectacles ; vérifie les places disponibles sans tirage !</p>
{% endif %}
2016-09-03 18:47:38 +02:00
<form action="" class="form-horizontal" method="post">
2016-07-25 02:52:49 +02:00
{% csrf_token %}
2016-09-03 18:47:38 +02:00
{{form | bootstrap}}
<input type="submit" class="btn btn-primary" value="S'inscrire pour les places sélectionnées">
2016-07-25 02:52:49 +02:00
</form>
{% if shotgun %}
2016-09-03 18:47:38 +02:00
<br>
<h3>Places disponibles immédiatement</h3>
2016-09-05 02:38:46 +02:00
<ul class="list-unstyled">
2016-07-25 02:52:49 +02:00
{% for spectacle in shotgun %}
<li><a href="{% url "bda-buy-revente" spectacle.id %}">{{spectacle}}</a></li>
{% endfor %}
{% endif %}
{% endblock %}