{% from "widgets/partials/card_header.html.j2" import render_card_header %}

<div class="card">
    {{ render_card_header(widget) }}
    <div id="collapse-{{ widget.widget_id }}" class="collapse {% if not widget.collapsed %}show{% endif %}">
        <div class="card-body">
            <pre class="debug-data">
{{ widget.json_data | escape }}
            </pre>
        </div>
    </div>
</div>
