|
@@ -0,0 +1,45 @@
|
|
|
+{% if form %}
|
|
|
+{% include '/components/formulaire.twig' %}
|
|
|
+{% endif %}
|
|
|
+{{dump(post)}}
|
|
|
+
|
|
|
+{% if name == 'benevole' %}
|
|
|
+<div class="colonne_gauche">
|
|
|
+ <section class="article-content">
|
|
|
+ <h1 class="titre_bloc">{{ post.meta('titre_bloc') }}</h1>
|
|
|
+ <div class="article_body">
|
|
|
+ <!-- {{dump(post)}} -->
|
|
|
+ {{ post.meta('paragraphe_bloc') }}
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+
|
|
|
+ <div class = "bouttons" >
|
|
|
+ {% include '/components/buttons/bouton_asso.html.twig' %}
|
|
|
+ {% include '/components/buttons/bouton_contact.html.twig' %}
|
|
|
+ </div>
|
|
|
+</div><!-- /colonne_gauche -->
|
|
|
+<!-- cleaner le code + condition bouton pour asso voir pour condition bouton dans le wordpress -->
|
|
|
+{% endif %}
|
|
|
+
|
|
|
+{{dump(post)}}
|
|
|
+<div class="colonne_gauche">
|
|
|
+ <section class="article-content">
|
|
|
+
|
|
|
+ {% if name == 'association' %}
|
|
|
+ <div class="article_body">
|
|
|
+ <h1 class="titre_bloc">{{ post.meta('titre') }}</h1>
|
|
|
+ {{ post.meta('file') }}
|
|
|
+ </div>
|
|
|
+ {% elseif name == 'benevole' %}
|
|
|
+ <h1 class="titre_bloc">{{ post.meta('titre_bloc') }}</h1>
|
|
|
+ <div class="article_body">
|
|
|
+ <!-- {{dump(post)}} -->
|
|
|
+ {{ post.meta('paragraphe_bloc') }}
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+
|
|
|
+ </section>
|
|
|
+ <div class = "bouttons" >
|
|
|
+ {% include '/components/buttons/bouton_asso.html.twig' %}
|
|
|
+ </div>
|
|
|
+</div><!-- /colonne_gauche -->
|