{% extends 'base.html.twig' %} {% block title %}Oeuvres{% endblock %} {% block body %}
Prix : {{ oeuvre.prix }}€
Dimension : {{ oeuvre.dimention }}
Catégorie : {{oeuvre.categorie.nom}}
Matière : {% if oeuvre.matieres|length > 0 %} {% for matiere in oeuvre.matieres %} {{ matiere.nom|capitalize }}{% if not loop.last %},{% endif %} {% endfor %} {% else %} N.R {% endif %}
Disponibilité :
Description :
{{oeuvre.description}}
commentaire react
soucis pour finaliser l'envoi du commentaire :
"react_devtools_backend.js:4026 TypeError: Cannot set property status of #Response which has only a getter"
commentaire php
{% if app.user %} {{ form_start(formComment) }} {{ form_row(formComment.comment) }} {{ form_end(formComment) }} {% else %}Veuillez vous connecter ou vous inscrire pour déposer votre message
{% endif %} {% for commentaire in commentaires %}{{ commentaire.dateAt|date("d/m/Y H:i:s") }}
{{ commentaire.user.prenom }} a ecrit...
{{ commentaire.comment }}
Soyez le premier à laisser votre avis
{% endfor %} {% for notification in app.flashes('success') %}