This repository has been archived on 2020-09-29. You can view files and clone it, but cannot push or open issues/pull-requests.
2019-09-09 21:11:57 +03:00
|
|
|
{% macro b(tag="div", attributes=None) -%}
|
|
|
|
<{{ tag }}{% if attributes %} {{attributes|safe}}{%endif%}{% for name, value in kwargs.items() %} {{name}}="{{value}}"{% endfor -%}>
|
2018-10-15 01:43:11 +03:00
|
|
|
{%- if caller %}
|
|
|
|
{{ caller() }}
|
|
|
|
{% endif -%}
|
|
|
|
</{{ tag }}>
|
|
|
|
{%- endmacro %}
|