You are here

layouts--3.html.twig in Dashboards with Layout Builder 8

Same filename and directory in other branches
  1. 2.0.x templates/layouts/layouts--3.html.twig
<section {{ attributes.addClass('layouts-dashboards-3', 'layouts-dashboards') }}>
{% if content.one %}
  <div class="drow">
    <div {{ region_attributes.one }}>
      {{ content.one }}
    </div>
  </div>
  {% endif %}
  {% if content.two %}
  <div class="drow">
    <div {{ region_attributes.two }}>
      {{ content.two }}
    </div>
  </div>
  {% endif %}
</section>

File

templates/layouts/layouts--3.html.twig
View source
  1. <section {{ attributes.addClass('layouts-dashboards-3', 'layouts-dashboards') }}>
  2. {% if content.one %}
  3. <div class="drow">
  4. <div {{ region_attributes.one }}>
  5. {{ content.one }}
  6. </div>
  7. </div>
  8. {% endif %}
  9. {% if content.two %}
  10. <div class="drow">
  11. <div {{ region_attributes.two }}>
  12. {{ content.two }}
  13. </div>
  14. </div>
  15. {% endif %}
  16. </section>