templates/bundles/ProviderBundle/areas/separator/view.html.twig line 1

Open in your IDE?
  1. {# Default block settings #}
  2. {% set class = pimcore_input('class').getData() %}
  3. {% set marginTop = pimcore_select('margin_top').getData() %}
  4. {% set marginBottom = pimcore_select('margin_bottom').getData() %}
  5. {% set containerWidth = pimcore_select('container_width').getData() %}
  6. {% set areaClass = class ~ ' ' ~ marginTop ~ ' ' ~ marginBottom ~ ' ' ~ containerWidth %}
  7. {% set anchorId = pimcore_input('anchor').getData() %}
  8. <div class="area area--separator {{ areaClass }}"{% if anchorId %} id="{{ anchorId }}"{% endif %}>
  9.     <hr>
  10. </div>