File: D:/HostingSpaces/EUmans/umansradepo.be/app/storage/views/24378d4ffb362886cc09defd1a0aa5f5
<div class="entity-attribute entity-attribute-text<?php echo e(count($attribute->errors) == 0 ? '' : ' error'); ?> <?php echo e($attribute->class); ?>" data-uk-tooltip="{pos:'bottom-right'}" title="<?php echo e(isset($attribute->errors[0]) ? $attribute->errors[0] : ''); ?>" ng-controller="KmsAttributeDateController">
<?php echo Form::label($attribute->key, $attribute->label); ?>
<?php if($attribute->canNotChange()): ?>
<div class="content"><?php echo $attribute->dateForUiWidget(); ?></div>
<?php else: ?>
<?php echo Form::text($attribute->key, $attribute->dateForUiWidget(), [
'id' => $attribute->key,
'placeholder' => $attribute->placeholder,
'ng-model' => 'attributes.'.$attribute->key
]); ?>
<?php endif; ?>
<script>
$(function(){
$('#<?php echo $attribute->key; ?>').datepicker({
changeYear: true,
changeMonth: true,
dateFormat: 'dd-mm-yy'
});
$('#<?php echo $attribute->key; ?>').datepicker(
'setDate', '<?php echo $attribute->dateForUiWidget(); ?>'
);
});
</script>
</div>