templates/areas/footer-form/view.html.twig line 1

Open in your IDE?
  1. {% if editmode %}
  2. <div class="settings">
  3.     <div class="position-relative settings-button-border">
  4.         <strong class="settings-header">Settings</strong><button class="toggle-settings"><i class="fa fa-plus"></i></button>
  5.         <div class="settings_container">
  6.             <div class="row middle-lg middle-md middle-sm middle-xs">
  7.                 <div>Dark background colour?</div>
  8.                 <div>
  9.                     {{ pimcore_checkbox('isBackgroundDark') }}
  10.                 </div>
  11.             </div>
  12.             <div class="row middle-lg middle-md middle-sm middle-xs">
  13.                 <div>Max Width on Form</div>
  14.                 <div>{{ pimcore_numeric("maxWidth") }}</div>
  15.             </div>
  16.         </div>
  17.         <div style="position: absolute; top: 10px; right: 0; font-weight: bold; text-transform: uppercase;">
  18.             Form
  19.         </div>
  20.     </div>
  21. </div>
  22. {% endif %}
  23. {% set maxWidth = pimcore_numeric("maxWidth").getData() ? ' style=max-width:' ~ pimcore_numeric("maxWidth").getData()|raw ~ 'px;' : '' %}
  24. <section id="contact" class="section top-bottom-padding {{ (pimcore_checkbox('isBackgroundDark').isChecked()?'bg-color--dark':'') }}">
  25.     <div class="inner light">
  26.         {% if maxWidth %}
  27.         <div{{ maxWidth }}>
  28.         {% endif %}
  29.         {% include '/content/includes/parts/inquiry-form.html.twig' %}
  30.         {% if maxWidth %}
  31.         </div>
  32.         {% endif %}
  33.     </div>
  34. </section>