File: D:/HostingSpaces/centrum8a/centrum8a.com/resources/views/kms/attributes/textField.blade.php
<div class="entity-attribute entity-attribute-text {!! $attribute->getStyleClass() !!} @if($errors->has((string)$attribute->getKey())) error @endif {!!$attribute->getStyleClass()!!}"
{{--{{ dd($errors->get((string)$attribute->getKey())) }}--}}
data-uk-tooltip="{pos:'bottom-right'}"
title="{{ $errors->get((string)$attribute->getKey()) != [] ? $errors->get((string)$attribute->getKey())[0] : ''}}"
>
<label for="{{$attribute->getKey()}}">{{$attribute->getLabelText()}}</label>
@if($attribute->getReadOnly())
<div class="input-read-only">{!! $attribute->getValue() !!}</div>
<input type="hidden" name="{{$attribute->getKey()}}" value="{{$attribute->getValue()}}">
@else
<input type="text"
id="{{$attribute->getKey()}}"
name="{{$attribute->getKey()}}"
@if($attribute->getValue()) value="{{$attribute->getValue()}}" @endif
@if($attribute->getPlaceholderText()) placeholder="{{$attribute->getPlaceholderText()}}" @endif
@if($attribute->getPattern()) pattern="{{$attribute->getPattern()}}" @endif
>
@if($attribute->getExplanation())<span class="explanation">{{ $attribute->getExplanation() }}</span> @endif
@endif
</div>