templates/areas/content-quote/view.html.twig line 1

Open in your IDE?
  1. <section class="quote-area container container-sm content-block js-fade-in {{ include('Layout/includes/editmode-box-classes.html.twig') }} {{ pimcore_checkbox('isSmall').data ? 'quote-area--small' : '' }} {{ styleModifier | default(null) }} {{ not pimcore_input('anchorTitle').empty ? 'js-anchor-nav__item' : '' }}" {% if not pimcore_input('anchorTitle').empty %}data-anchor-nav-title="{{ pimcore_input('anchorTitle').frontend }}"{% endif %}>
  2.     {% embed 'Includes/editmode-settings.html.twig' %}
  3.         {% block additionalInfo %}
  4.             <div>
  5.                 <label>
  6.                     {{ pimcore_checkbox('isSmall') }} Small Quote?
  7.                 </label>
  8.             </div>
  9.             <div>
  10.                 <label>
  11.                     Authorobject: {{ pimcore_relation('author-object', {
  12.                         types: ["object"],
  13.                         subtypes: {
  14.                             "object": ["object"],
  15.                         },
  16.                         "classes": ["PressAuthor", "BlogAuthor"]
  17.                     }) }}
  18.                 </label>
  19.             </div>
  20.             <div>
  21.                 Custom Author: {{ pimcore_input('author-input') }}
  22.             </div>
  23.         {% endblock %}
  24.     {% endembed %}
  25.     <blockquote class="quote-area__text">
  26.         „{{ pimcore_textarea('quote', {'nl2br': true, 'width': 600}) }}“
  27.     </blockquote>
  28.     <div class="mt-1 fz12">
  29.         {{ getAuthorForQuote(pimcore_relation('author-object').element, pimcore_input('author-input').data) }}
  30.     </div>
  31. </section>