add builer block context

This commit is contained in:
Simon Vieille 2024-05-15 18:27:19 +02:00
parent 7c124008c0
commit d74cd52711
Signed by: deblan
GPG key ID: 579388D585F70417
4 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<div class="alert {% if settings.level|default(null) %}alert-{{ settings.level }}{% endif %}" id="{{ id }}">
{% for item in children %}
{{ item|block_to_html }}
{{ item|block_to_html(context) }}
{% endfor %}
</div>

View file

@ -8,6 +8,6 @@
<div class="col {% for i, v in sizes%}{% if v|length %}{{ i }}{{ v }} {% endif %}{% endfor -%}" id="{{ id }}">
{% for item in children %}
{{ item|block_to_html }}
{{ item|block_to_html(context) }}
{% endfor %}
</div>

View file

@ -1,5 +1,5 @@
<div class="container{% if settings.isFluid|default(false) %}-fluid{% endif %}" id="{{ id }}">
{% for item in children %}
{{ item|block_to_html }}
{{ item|block_to_html(context) }}
{% endfor %}
</div>

View file

@ -1,5 +1,5 @@
<div class="row" id="{{ id }}">
{% for item in children %}
{{ item|block_to_html }}
{{ item|block_to_html(context) }}
{% endfor %}
</div>