{% extends 'base.html.twig' %}
{% block title %}Retour d'éxpériences
{% endblock %}
{% block content %}
<h1 class="text-center m-5">Retour d'éxpérience :</h1>
<a href="{{ path('app_let_comment')}}" class="btn btn-info btn-gradient p-3 m-2 font-weight-bold text-center">
<img src="{{ asset('assets/images/iconComment.png') }}" alt="mes commentaires"><br>
Racontez-nous votre expérience
</a>
<div class="d-flex flex-row row comments">
{% for comment in comments %}
{% if comment.isValid == 1 %}
<div class="d-block col-lg-6 col-md-6 col-sm-12 text-center">
<h2 class="col-md-12 commentTilte">{{comment.author}}</h2>
<div class="gallery-item col-md-12 d-block">
<img src="/uploads/comments/{{ comment.illustration }}" class="mb-2" alt="test3" loading="lazy">
</div>
<div class=" d-block">{{comment.comment}}</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>{% endblock %}