templates/app/activites/activiteslist.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% import 'app/_inc/macros.html.twig' as m %}
  3. {% block css %}
  4.     {{ encore_entry_link_tags('app-pages-css') }}
  5. {% endblock %}
  6. {% block js %}
  7.     {#    {{ encore_entry_script_tags('app-index-js') }}#}
  8. {% endblock %}
  9. {% block content %}
  10.     {{ m.titleCoord('Nos service de sablage', 'Sablage', asset(category.firstPicture.path)) }}
  11.     <main class="main-default">
  12.         <section>
  13.             <div class="container">
  14.                 <ul class="activites-list">
  15.                     {% for child in category.childrens %}
  16.                         <li>
  17.                             <div class="activites-item" data-link>
  18.                                 <div class="activites-item-content">
  19.                                     <strong class="mention">{{ category.translate.title }}</strong>
  20.                                     <h3 class="h3"><a href="{{ path('activiteShow', {'id':child.id}) }}" title="voir la page">{{ child.translate.title }}</a></h3>
  21.                                 </div>
  22.                                 {{ m.img(asset(child.firstPicture.path)) }}
  23.                             </div>
  24.                         </li>
  25.                     {% endfor %}
  26.                 </ul>
  27.             </div>
  28.         </section>
  29.     </main>
  30. {% endblock %}