<div class="form-group row">

    <!-- mais de um campo na mesma linha -->
    <?php if($controle["tipo"] == 'array'): ?>

        <?php for($c = 0; $c < count($controle['campos']); $c++): ?>

            <div class="col-12 col-sm-<?php echo e($controle['campos'][$c]['largura']); ?> <?php echo e((!empty($controle['campos'][$c]['classeColuna']) ? $controle['campos'][$c]['classeColuna'] : '' )); ?>

                      <?php echo e(!empty($sem_padding) && $sem_padding == 'true' ? 'p-0' : ''); ?> <?php echo e(($c > 0 ? 'pl-0' : '')); ?>"
                 style="<?php echo e(($c == (count($controle['campos']) - 1) ? '' : 'padding-right:'.(empty($controle['campos'][$c]['padding']) ? '10' : $controle['campos'][$c]['padding']).'px;')); ?>">

                <?php if(!empty($controle['campos'][$c]['label'])): ?>
                    <label id="<?php echo e($controle['campos'][$c]['id']); ?>_label" for="<?php echo e($controle['campos'][$c]['id']); ?>" class="col-12 col-form-label text-md-left text-md-left"><?php echo e($controle['campos'][$c]['label']); ?></label>
                <?php endif; ?>

                <?php echo $__env->make('partials._controles_form',['controle'=>$controle['campos'][$c]], \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            </div>

        <?php endfor; ?>

    <?php else: ?>

    <div class="col-12 col-sm-<?php echo e((!empty($controle['campos']['largura']) ? $controle['campos']['largura'] : '12')); ?>

                <?php echo e((!empty($controle['campos']['classe']) ? $controle['campos']['classe'] : '' )); ?>

                <?php echo e(!empty($sem_padding) && $sem_padding == 'true' ? 'p-0' : ''); ?>"
         style="<?php echo e((!empty($controle['campos']['largura']) ? 'padding-right:10px' : '')); ?>">


         <?php if(!empty($controle['label'])): ?>
            <label id="<?php echo e($controle['id']); ?>_label" for="<?php echo e($controle['id']); ?>" style="padding-right:20px;" class="col-12 col-form-label text-md-left"><?php echo e($controle['label']); ?></label>
        <?php endif; ?>

        <?php echo $__env->make('partials._controles_form',['controle'=>$controle], \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    </div>
    <?php endif; ?>

</div>
