{% extends '@AutoAdminBrickBuilder/brick/base_brick.html.twig' %}

{% block brick_body_before %}{% if settings._tag is not empty and settings._self_closing is empty %}{{ (tag.0)|raw }}{% endif %}{% endblock %}

{% block brick_body %}
  {% if settings._self_closing is not empty %}
    {{ tag.0|default('<!-- no tag -->')|raw }}
  {% elseif settings._output is defined and settings._output is not empty %}
    {{ settings._output|default('<!-- empty -->')|raw }}
  {% endif %}
{% endblock %}

{% block brick_body_after %}{% if settings._tag is not empty and settings._self_closing is empty %}{{ (tag.1)|raw }}{% endif %}{% endblock %}