| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- {#
- /**
- * @file
- * Default theme implementation for a 'form' element.
- *
- * Available variables
- * - attributes: A list of HTML attributes for the wrapper element.
- * - children: The child elements of the form.
- *
- * @see template_preprocess_form()
- *
- * @ingroup themeable
- */
- #}
- {#
- <div class="buttons-filtres-ressources">
- <button class="button-videos" type="button" style=""><a href="https://stage.eql.figli.io/ressources?field_type_de_media_target_id=693&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Vidéos</a></button>
- <button class="button-podcasts" type="button" style=""><a href="https://stage.eql.figli.io/ressources?field_type_de_media_target_id=698&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Podcasts</a></button>
- <button class="button-reportages-photos" type="button" style=""><a href="https://stage.eql.figli.io/ressources?field_type_de_media_target_id=695&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Reportages photos</a></button>
- <button class="button-livres" type="button" style=""><a href="https://stage.eql.figli.io/ressources?field_type_de_media_target_id=696&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Livres</a></button>
- <button class="button-articles" type="button" style=""><a href="https://stage.eql.figli.io/ressources?field_type_de_media_target_id=694&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Articles</a></button>
- <button class="button-publications-rapports" type="button" style=""><a href="https://stage.eql.figli.io/ressources?field_type_de_media_target_id=696&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Publications/rapports</a></button>
- </div> #}
- <div class="buttons-filtres-ressources">
- {% for item in media_links %}
- <button class="button-{{ item.slug }}{% if item.active %} is-active{% endif %}" type="button">
- <a href="{{ path('<front>') ~ 'ressources?field_type_de_media_target_id=' ~ item.tid ~ '&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine=' }}">
- {{ item.label }}
- </a>
- </button>
- {% endfor %}
- </div>
- <form{{ attributes }}>
- {{ children }}
- </form>
|