File: D:/HostingSpaces/SBogers10/debierbaron.komma.pro/app/storage/views/f06625e4abaf19afd1425e6881d3e714
<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="KmsAttributePercentageFieldController">
<div>
<?php echo Form::label($attribute->key, $attribute->label); ?>
<?php echo Form::hidden($attribute->key, $attribute->getValue(), [
'ng-value' => 'attributes.'.$attribute->key
]); ?>
<?php echo Form::text($attribute->key.'_percentage', $attribute->value, [
'placeholder' => $attribute->placeholder,
'ng-model' => 'attributes.'.$attribute->key.'_percentage',
'id' => $attribute->key.'_percentage',
]); ?>
</div>
<script>
$(function(){
$('#<?php echo $attribute->key; ?>_percentage').inputmask("decimal", {
radixPoint: ",",
groupSeparator: "",
digits: 1,
suffix: '%',
rightAlign: false
});
$('#<?php echo $attribute->key; ?>_percentage').val( $('#<?php echo $attribute->key; ?>').val());
});
</script>
</div>