<div class="form-group {{ $errors->has($fieldName) ? 'has-error' : '' }}">
    {!! Form::label($elementName, $options['label']) !!}
    {!! Form::text($elementName, $record->$fieldName, [
	    'id' =>  $elementName,
	    'class' => "form-control",
	    'placeholder' => $options['label'],
	] ) !!}
    <div class="text-red">
        {{ join($errors->get($fieldName), '<br />') }}
    </div>
</div>

<div class="form-group {{ $errors->has($fieldName) ? 'has-error' : '' }}">
    {!! Form::label($elementName, $options['label']) !!}
    {!! Form::text($elementName, $record->$fieldName, array_merge([
    'id' =>  $elementName,
    'class' => "form-control",
    'placeholder' => $options['label'],
], array_get($options, 'attributes', []))) !!}
    <div class="text-red">
        {{ join($errors->get($fieldName), '<br />') }}
    </div>
</div>

Allow attributes for text field
Allow attributes for text field
