<?php $id = uniqid(); ?>

<label for="<?= $id ?>"><?= e($field->name) ?></label>
<div style="overflow: auto;">
    <div style="margin-bottom: 10px">
        <?= $textWidget->render() ?>
    </div>
    <?= $colorWidget->render() ?>
</div>