{% extends 'profil/profil_base.html' %}
{% load static %}
{% load custom_tag %}

{% block profil_content %}
<div class="row">
    <div class="col-lg-12"><br/>
        <h3><i class="bi bi-joystick"></i> Fiches & Reçus</h3><hr/>
    </div>
</div>
<div class="row col-lg-11">
    <table class="table profil-cmd">
        <thead>
            <tr>
                <th></th>
                <th>DOCUMENTS A IMPRIMER</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
        {% if candidature %}
            <tr>
                <td></td>
                <td>FICHE PREINSCRIPTION AU {{candidature.type_concours.libelle}} </td>
                <td>
                    <a href="{% url 'fiches_et_recus_pdf' candidature.id %}" target="_blank"><i class="bi bi-file-earmark-pdf-fill"></i></a>
                </td>
            </tr>
        {% else %}
            <tr>
                <td colspan="3"><center>AUCUN RESULTAT</center></td>
            </tr>
        {% endif %}
        </tbody>
    </table>
        <br/><br/>
</div>
{% endblock profil_content %}