You are here

layout-paragraphs-builder.html.twig in Layout Paragraphs 2.0.x

<div{{ attributes }}>
  {% if is_empty  %}
    <div class="lpb-empty-container__wrapper">
      <div class="lpb-empty-container">
        <div class="lpb-empty-message">{{ empty_message }}</div>
        {{ insert_button }}
      </div>
    </div>
  {% else %}
    {% if translation_warning %}
    <div class="messages messages--status">
      {{ translation_warning }}
    </div>
    {% endif %}
    <div class="js-lpb-component-list">
      {{ root_components }}
    </div>
  {% endif %}
</div>

File

templates/layout-paragraphs-builder.html.twig
View source
  1. <div{{ attributes }}>
  2. {% if is_empty %}
  3. <div class="lpb-empty-container__wrapper">
  4. <div class="lpb-empty-container">
  5. <div class="lpb-empty-message">{{ empty_message }}</div>
  6. {{ insert_button }}
  7. </div>
  8. </div>
  9. {% else %}
  10. {% if translation_warning %}
  11. <div class="messages messages--status">
  12. {{ translation_warning }}
  13. </div>
  14. {% endif %}
  15. <div class="js-lpb-component-list">
  16. {{ root_components }}
  17. </div>
  18. {% endif %}
  19. </div>