bundles/Alea/AreabricksBundle/Resources/views/areas/intro-with-quote/view.html.twig line 1

Open in your IDE?
  1. {% set widthFirstColumn = pimcore_select('widthFirstColumn').getData() %}
  2. {% set widthSecondColumn = pimcore_select('widthSecondColumn').getData() %}
  3. <div class="position-relative d-flex d-lg-block flex-column">
  4.     <div class="offset-0 offset-lg-6 h-100 col-12 col-lg-6 col-xl-5 pt-30 pt-lg-0 d-flex flex-column justify-content-center text-start position--relative position-lg-absolute z-1 order-2">
  5.         <p class="h1">
  6.             {{ pimcore_textarea("text",{
  7.                 "width": '100%',
  8.                 "placeholder": "Testo"
  9.             }) }}
  10.         </p>
  11.         <p class="h4">
  12.             {{ pimcore_input("author",{
  13.                 "width": '100%',
  14.                 "placeholder": "Autore"
  15.             }) }}
  16.         </p>
  17.     </div>
  18.     <div class="col-12 col-lg-7 order-1">
  19.         {% if editmode %}
  20.             {{ pimcore_image("image") }}
  21.         {% else %}
  22.             {#<img src="{{ pimcore_image("image").getSrc() }}" alt="{{ pimcore_image("image").getAlt() }}" class="w-100"/>#}
  23.             {{ pimcore_image("image").thumbnail('slide_home').html({
  24.                                 'pictureAttributes': {
  25.                                     'class': ''
  26.                                 },
  27.                                 'imgAttributes': {
  28.                                     'class': 'w-100 h-auto'
  29.                                 }
  30.                             }) | raw  }}
  31.         {% endif %}
  32.     </div>
  33. </div>