{%extends "base.html.twig"%} {% block title %}Commentez!{% endblock %} {#############################################} {# main of the page comment width the Form #} {#############################################} {%block main%}
{###############################} {# Loop for the Flash Message #} {###############################} {% for message in app.flashes('message') %}
{{ message }}
{% endfor %} {{ form_start(commentForm) }}

Votre avis

Une question ? un doute ? Une envie de collaborer avec moi ? Laissez nous un message & nous y répondrons le plus vite possible !

{{ form_label(commentForm.nickname, 'VOTRE PSEUDO') }} {{ form_row(commentForm.nickname, {'attr':{'placeholder': "Ton Nickname",'class': "nickame-input"} })}}
{{ form_label(commentForm.email, 'VOTRE EMAIL') }} {{ form_row(commentForm.email, {'attr':{'placeholder': "Ton Email",'class': "email-input "} })}}
{{ form_label(commentForm.content, 'VOTRE AVIS') }} {{ form_row(commentForm.content, {'attr':{'placeholder': "Ton Avis...",'class': "content-input"} })}}
lecture des régles de collecte des données personnelle(rgpd)
{{ form_row(commentForm.rgpd, {'attr':{'class': "rgpd-input"} })}}
{{ form_row(commentForm.Envoyer, {'attr':{'class': "btn btn-info"} })}}
{{form_end(commentForm)}}
{% endblock main %}