src/Elements/Bundle/DemiFrontendBundle/Resources/views/Includes/snippets/guarantee.html.twig line 1

Open in your IDE?
  1. {% extends '@ElementsDemiFrontend/Layout/editmode-layout.html.twig' %}
  2. {% block content %}
  3.     {% if editmode %}
  4.         <div class="container mt-5">
  5.         <div class="row row--gutter-width-xl-60 py-2">
  6.         <div class="card box-shadow mt-4">
  7.         <div class="card-body">
  8.     {% endif %}
  9.     <div class="h3 text-center mb-4 text-primary">{{ pimcore_input("guarantee_headline") }}</div>
  10.     <ul class="list-unstyled">
  11.         {% for i in pimcore_iterate_block(pimcore_block("guarantee_list_li")) %}
  12.             <li>
  13.                 <div class="d-flex flex-row">
  14.                     <div class="p-1">
  15.                         <div class="demi-icon demi-icon-check mr-1 icon-in-text text-success"
  16.                              aria-label="check" title="check"></div>
  17.                     </div>
  18.                     <div class="p-1">
  19.                         {{ pimcore_input("guarantee_item", {"width" : 300}) }}
  20.                     </div>
  21.                 </div>
  22.             </li>
  23.         {% endfor %}
  24.     </ul>
  25.     <div class="text-center p-1">
  26.         <div class="thawte">
  27.             {% set domain = demi_getDomain() %}
  28.             <script type="text/javascript"
  29.                     src="https://seal.thawte.com/getthawteseal?host_name={{ domain }}&amp;size=S&amp;lang={{ app.request.getLocale() }}"></script>
  30.         </div>
  31.     </div>
  32.     {% if editmode %}
  33.         </div>
  34.         </div>
  35.         </div>
  36.         </div>
  37.     {% endif %}
  38. {% endblock %}