{% import "freeform/_templates/formatting/bootstrap-5-dark/_row.twig" as rowMacro %}

{{ field.renderContainerOpeningTag }}

    <div class="card">
        <div class="card-header">
            {{ field.renderLabel }}
            {{ field.renderInstructions }}
        </div>
        <div class="card-body pb-0">
            {{ rowMacro.render(field.layout, form) }}
        </div>
    </div>

{{ field.renderContainerClosingTag }}
