{% extends 'EspaceEtudiant/base_etudiant.html' %}
{% load static %}
{% block m-title %}<i class="fa fa-comments"></i> SONDAGES DISPONIBLES{% endblock m-title %}
{% load widget_tweaks %}
{% block content %}
<section class="content">
    <div class="container-fluid">
        <!-- Small boxes (Stat box) -->

        <div class="container">
            <div class="card">
                <div class="card-header text-white" style="background: #21618C"><h3 class="card-title">LISTE DES SONDAGES DISPONIBLES</h3></div>
                <div class="card-body login-card-body">
                    <table class="table table-striped">
                        <thead>
                            <tr>
                                <th>SONDAGES</th>
                            </tr>
                        </thead>
                        <tbody>
                        {% for sond in sondage %}
                            <tr>
                                <td><a href="{{sond.url}}"target="_blank">{{sond|upper}}</a></td>
                            </tr>
                        {% empty %}
                            <tr>
                                <td colspan="1" style="text-align:center;"> AUCUN RESULTAT</td>
                            </tr>
                        {% endfor %}
                        </tbody>
                    </table>
                </div>
            </div>
              <!-- DONUT CHART --><!-- /.card -->

        </div>

            
    </div>
  </section>

{% endblock content %}

{% block custom_js %}

{% endblock custom_js %}