@php
$fieldId = isset($attributes['id']) ? $attributes['id'] : $name
@endphp
<div class="form-group form-text">
    {{ Form::label($fieldId, ucwords($name), ['class' => 'col-sm-2 control-label']) }}
    <div class="col-sm-10">
        @if (isset($help))
        <div class="input-group">
        @endif

            {{ Form::text($name, $value, array_merge(['class' => 'form-control'], $attributes)) }}
            @if (isset($help))
            <span class="input-group-addon" title="{{ $help }}"><span class="fa-solid fa-question"></span></span>
            @endif

        @if (isset($help))
        </div>
        @endif
    </div>
</div>
