views-bootstrap-media-object.html.twig in Views Bootstrap 8.4
{# @todo: add more control to images and positoning #}
<div{{ attributes.addClass(classes) }} id="{{ id }}">
{% for key, row in rows -%}
<div class="media">
{% if row.image %}
{{ row.image }}
{% endif %}
<div class="media-body">
{% if row.heading %}
{{ row.heading }}
{% endif %}
{% if row.body %}
{{ row.body }}
{% endif %}
</div>
</div>
{%- endfor %}
</div>
File
templates/views-bootstrap-media-object.html.twig
View source
- {# @todo: add more control to images and positoning #}
-
- <div{{ attributes.addClass(classes) }} id="{{ id }}">
- {% for key, row in rows -%}
- <div class="media">
- {% if row.image %}
- {{ row.image }}
- {% endif %}
- <div class="media-body">
- {% if row.heading %}
- {{ row.heading }}
- {% endif %}
-
- {% if row.body %}
- {{ row.body }}
- {% endif %}
- </div>
- </div>
- {%- endfor %}
- </div>