form.html.twig 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a 'form' element.
  5. *
  6. * Available variables
  7. * - attributes: A list of HTML attributes for the wrapper element.
  8. * - children: The child elements of the form.
  9. *
  10. * @see template_preprocess_form()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. {# <div class="buttons-filtres-ressources">
  16. <a class=" button button-videos" style="" 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>
  17. <a class="button button-podcasts" style="" 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>
  18. <a class="button button-reportages-photos" style="" 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>
  19. <a class="button button-livres" style="" 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>
  20. <a class="button button-articles" style="" 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>
  21. <a class="button button-publications-rapports" style="" 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>
  22. </div> #}
  23. <div class="buttons-filtres-ressources">
  24. {% for item in media_links %}
  25. <a
  26. class="button button-{{ item.slug }}{% if item.active %} is-active{% endif %}"
  27. 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=' }}"
  28. >
  29. {{ item.label }}
  30. </a>
  31. {% endfor %}
  32. </div>
  33. <form{{ attributes }}>
  34. {{ children }}
  35. </form>