File: D:/HostingSpaces/SBogers10/vebon.komma.pro/resources/views/kms/attributes/password.blade.php
<div class="entity-attribute entity-attribute-password @if($errors->has($attribute->key)) error @endif {!!$attribute->class!!}"
id="kms-password_{!!$attribute->key!!}" data-uk-tooltip="{pos:'bottom-right'}"
title="{!! $attribute->errors[0] or '' !!}"
ng-controller="KmsAttributePasswordController">
{!! Form::label($attribute->key, $attribute->label()) !!}
@if($attribute->canNotChange())
<div class="content">@lang('kms.password.cannot_be_changed')</div>
@else
@if($errors->has($attribute->key))
<data ng-init="enablePasswordField()"></data>
@endif
<input type="button"
class="fieldEnabler"
value="Change the password"
ng-click="enablePasswordField()"
ng-show="enabler"
ng-cloak
/>
{!! Form::password($attribute->key(), [
'placeholder' => $attribute->placeholder,
'class' => 'passwordField',
'ng-cloak' => ''
]) !!}
@endif
</div>