<div class="mini-timeline"> {% for assi in assi_blocks %} <div assi_id="{{assi.id}}" class="mini-timeline-block color {{assi.etat}} {{assi.est_just}}" style="left: {{assi.emplacement}}%; width:{{assi.longueur}}%;"> {{assi.bubble | safe }} </div> {% endfor %} </div>