File: D:/HostingSpaces/blijegasten/blijegasten.be/resources/views/kms/attributes/number.blade.php
<div class="entity-attribute entity-attribute-text {!! $attribute->getStyleClass() !!} @if($errors->has((string)$attribute->getKey())) error @endif {!!$attribute->getStyleClass()!!}"
data-uk-tooltip="{pos:'bottom-right'}"
data-inc-vat="{{ config('shop.product_price_entered_inc_vat') }}"
title="{{ $errors->get((string)$attribute->getKey()) != [] ? $errors->get((string)$attribute->getKey())[0] : ''}}"
@foreach($attribute->getDataAttributes() as $dataAttributeName => $dataAttributeValue)
{{ $dataAttributeName }}="{{ $dataAttributeValue }}"
@endforeach
>
<label for="{{$attribute->getKey()}}">{{ $attribute->getLabelText() }}</label>
@if($attribute->getReadOnly())
<div class="content">{!! $attribute->getValue() !!}</div>
<input type="hidden" name="{{ $attribute->getKey() }}">
@else
<input type="number" class="user_input"
name="{{ $attribute->getKey() }}"
data-forInput="{{ $attribute->getKey() }}"
value="{{ $attribute->getValue(true) }}"
@if($attribute->getMin() !== null) min="{{$attribute->getMin()}}" @endif
@if($attribute->getMax()) max="{{$attribute->getMax()}}" @endif
@if($attribute->getStep()) step="{{$attribute->getStep()}}" @endif
dusk="{{ $attribute->getKey() }}"
>
@if($attribute->getExplanation())<span class="explanation">{{ $attribute->getExplanation() }}</span> @endif
@endif
</div>