kpsul/bda/templates/bda-revente.html

56 lines
1.5 KiB
HTML
Raw Normal View History

2013-09-05 22:21:32 +02:00
{% extends "base_title.html" %}
2016-09-03 05:23:05 +02:00
{% load bootstrap %}
2013-09-05 22:21:32 +02:00
{% block realcontent %}
<h2>Revente de place</h2>
<h3>Places non revendues</h3>
2016-09-03 05:23:05 +02:00
<form class="form-horizontal" action="" method="post">
2016-07-23 22:22:17 +02:00
{% csrf_token %}
2016-09-03 05:23:05 +02:00
<div class="form-group">
<div class="multiple-checkbox">
<ul>
{% for box in resellform.attributions %}
<li>
{{box.tag}}
{{box.choice_label}}
</li>
{% endfor %}
</ul>
</div>
</div>
<div class="form-actions">
<input type="submit" class="btn btn-primary" name="resell" value="Revendre les places sélectionnées">
</div>
2016-07-23 22:22:17 +02:00
</form>
2016-09-03 05:23:05 +02:00
<br>
<h3>Places en cours de revente</h3>
2016-07-27 13:08:00 +02:00
<form action="" method="post">
{% csrf_token %}
2016-09-03 05:23:05 +02:00
<div class="form-group">
<div class="multiple-checkbox">
<ul>
{% for box in annulform.attributions %}
<li>
{{box.tag}}
{{box.choice_label}}
</li>
{% endfor %}
{% for attrib in overdue %}
<li>
<input type="checkbox" style="visibility:hidden">
{{attrib.spectacle}}
</li>
{% endfor %}
</ul>
</div>
</div>
{{annulform | bootstrap}}
2016-07-27 13:08:00 +02:00
{% for attrib in overdue %}
<li>{{attrib.spectacle}}</li>
{%endfor%}
</ul>
<input type="submit" name="annul" value="Annuler les reventes sélectionnées">
2016-09-03 05:23:05 +02:00
</form>
2013-09-05 22:21:32 +02:00
{% endblock %}