<div class="entity-attribute entity-attribute-text @if($errors->has($attribute->key)) error @endif {!!$attribute->class!!}"
data-uk-tooltip="{pos:'bottom-right'}" title="{!! $attribute->errors[0] or '' !!}"
ng-controller="KmsAttributeRouteController"
ng-init="modelString = createModelString('{!! $attribute->key !!}', itemKey) ">
{!! Form::label($attribute->key, $attribute->label()) !!}
{!! Form::text($attribute->key(), $attribute->value, [
'placeholder' => $attribute->placeholder,
'ng-init'=>'attributes[modelString] ="'.$attribute->value.'"',
'ng-model' => 'attributes[modelString]',
'data-kms-structure' => $attribute->structure,
'data-kms-slug-field' => $attribute->slugField,
'data-kms-parent-field' => $attribute->parentField,
'data-kms-language-id' => $attribute->languageId,
'id' => '@{{modelString}}'
]) !!}
</div>