{% load static %}

<div class="table p-2">
<table class="table table-striped">
   <tr>
       <th>ECUE</th>
       <th>LIBELLE</th>
       <th>CC</th>
       <th>EXAMEN</th>
       <th>MOYENNE</th>
    </tr>
    {% for ecue in ue.ecues.all %}
        <tr class="antr">
            <td class="antd">{{ecue.code}}</td>
            <td>{{ecue.libelle}}</td>
            <td>{{moy_cc}}/20</td>
            <td>{{moy_ex}}/20</td>
            <td>12/20</td>
        </tr>
    {% endfor %}
</table>
<div style="padding:15px;text-align:center;border:1px solid #3498DB">
    MOYENNE: <strong>12/20</strong>
</div>
</div>