templates/areas/nursery-how/view.html.twig line 1

Open in your IDE?
  1. {% if editmode %}
  2. <h2 class="uk-h2">Process Info</h2>
  3. {% endif %}
  4. <section id="process">
  5.     <div class="apk-process">
  6.         <div class="uk-container">
  7.             <div class="uk-text-center apk-container-800 uk-margin-auto">
  8.                 <h2 class="uk-h2 apk-underlined apk-underlined-orange2">{{ pimcore_textarea('Title', {'nl2br' : true, 'width' : 1000}) }}</h2>
  9.                 <p class="apk-post-title apk-font-22 uk-margin-remove">{{ pimcore_textarea('infoPoestTitle', {'nl2br' : true}) }}</p>
  10.             </div>
  11.             <div class="uk-grid-small uk-margin-medium-top uk-child-width-expand@m uk-grid" uk-grid>
  12.                 {% set n = 1 %}
  13.                 {% for i in pimcore_block('processBlock').iterator %}
  14.                 <div>
  15.                     <div class="apk-process-container uk-text-center">
  16.                         <div class="apk-media uk-flex uk-flex-middle uk-flex-center uk-light">
  17.                             {% if editmode %}
  18.                                 {{ pimcore_image('blockImage', {'width' : 100, 'height' : 100}) }}
  19.                             {% else %}
  20.                                 <img uk-svg width="80" height="80" src="{{ pimcore_image('blockImage').getSrc() }}" alt="{{ pimcore_image('blockImage').getAlt() }}">
  21.                             {% endif %}
  22.                         </div>
  23.                         <div class="apk-content uk-margin-top">
  24.                             {{ pimcore_wysiwyg('blockWysiwyg') }}
  25.                         </div>
  26.                     </div>
  27.                 </div>
  28.          
  29.                 {% if n < pimcore_block('processBlock').getData()|length %}
  30.                 <div class="uk-width-auto@m uk-flex uk-flex-center">
  31.                     <div class="apk-arrow">
  32.                         <img width="65" height="65" uk-svg src="/static/img/pictos/long-arrow.svg" alt="{{ "Arrow"|trans }}">
  33.                     </div>
  34.                 </div>
  35.                 {% endif %}
  36.                 {% set n = n + 1 %}
  37.                 {% endfor %}
  38.             </div>
  39.         </div>
  40.     </div>
  41. </section>