{% extends 'gestion/base.html' %}
{% load static %}

{% block contents %}
<div id="qrcode" class="fond-blanc" style="display: inline-block;">
  {{ svg|safe }}
  <p style="font-size: 50%; text-align: center;">
    <a href="{{ url }}">{{ url }}</a>
  </p>
  <p style="text-align: center;">
    Validité : 30 minutes, jusqu'à {{ fin_validite | date:'H:i'}}
  </p>
</div>
{% if eleves_a_verifier %}
<div id="a_verifier" class="fond-blanc" style="display: inline-block;">
  <h2>Inscriptions à vérifier</h2>
  <ul>
    {% for  e in eleves_a_verifier %}
    <li>
      <form method="post" action="/eleves">
	{% csrf_token %}
	<input type="submit" name="nomprenom" value="{{ e.NomPrenomEleve }}"/>
      </form>
    </li>
    {% endfor %}
  </ul>
</div>
{% endif %}
{% endblock %}
