File: D:/HostingSpaces/SBogers10/vebon.komma.pro/resources/views/kms/attributes/textField.blade.php
<div class="entity-attribute entity-attribute-text {!! $attribute->class !!} @if($errors->has($attribute->key)) error @endif {!!$attribute->class!!}"
data-uk-tooltip="{pos:'bottom-right'}" title="{!! $attribute->errors[0] or '' !!}"
ng-controller="KmsAttributeTextFieldController"
ng-init="modelString = createModelString('{!! $attribute->key !!}', itemKey)">
{!! Form::label($attribute->key, $attribute->label()) !!}
@if($attribute->canNotChange())
<div class="content">{!! $attribute->value !!}</div>
{!! Form::hidden($attribute->key, $attribute->value) !!}
@else
{!! Form::text($attribute->key(), $attribute->value, [
'placeholder' => $attribute->placeholder,
'ng-init'=>'attributes[modelString] ="'.$attribute->value.'"',
'ng-model' => 'attributes[modelString]',
'id' => '@{{modelString}}'
]) !!}
@endif
</div>