<?php if($name): ?>
    <label class="form-label" <?php echo $attributes; ?>>
        <?php echo e(ucfirst($name)); ?> <?php if($attributes->get('required')): ?>
            <span class="red">*</span>
        <?php endif; ?>
    </label>
<?php endif; ?>
<?php /**PATH /home/onemail/public_html/resources/views/components/label.blade.php ENDPATH**/ ?>