vendor/score/cms/src/Resources/views/Public/default/event_detail.html.twig line 1

Open in your IDE?
  1. {% extends cms_template() %}
  2. {% block title %}
  3.     {{event.name}}    |    {{parent()}}
  4. {% endblock %}
  5. {% block body %}
  6.     <div class="container py-3">
  7.         <div class="row govuk-grid-row">
  8.             <div class="col-md-8 govuk-grid-column-three-quarters">
  9.                 <h1 class="govuk-heading-xl">{{ event.name }}</h1>
  10.                 <div  class="govuk-body-l">
  11.                     {{ event.teaser|raw }}
  12.                 </div>
  13.                 <div  class="govuk-body">
  14.                     {{ event.content|raw }}
  15.                 </div>
  16.             </div>
  17.             <div class="col-md-4 govuk-grid-column-one-quarter">
  18.                 <h2 class="govuk-heading-m">Daľšie udalosti</h2>
  19.                 {%  for event in events %}
  20.                     <div class=" py-4">
  21.                         {{ include('@ScoreCms/Public/default/_event_card_mini.html.twig',{'event':event}) }}
  22.                     </div>
  23.                 {% endfor %}
  24.             </div>
  25.         </div>
  26.     </div>
  27. {% endblock %}