File: D:/HostingSpaces/SBogers10/vebon.komma.pro/storage/framework/views/273bdcf16c6774de7526ba6084266dc2
<div class="entity-attribute entity-attribute-on-off
<?php if($errors->has($attribute->key)): ?> error <?php endif; ?> <?php echo $attribute->class; ?>"
data-uk-tooltip="{pos:'bottom-right'}"
title="<?php echo isset($attribute->errors[0]) ? $attribute->errors[0] : ''; ?>"
ng-controller="KmsAttributes"
ng-init="modelString = createModelString('<?php echo $attribute->key; ?>', itemKey)">
<?php echo Form::label($attribute->key. '_checkbox', $attribute->label()); ?>
<?php echo Form::hidden($attribute->key(), $attribute->value,['ng-value' => 'attributes[modelString]']); ?>
<?php echo Form::checkbox('checkbox_'.$attribute->key(), '1', $attribute->getValue() == 1 ? true : false, [
'class' => 'toggle toggle-round-flat',
'id' => $attribute->key . '_checkbox',
'ng-model' => 'attributes[modelString]',
'ng-init'=>'attributes[modelString] ='.$attribute->value,
'ng-true-value'=>'1' ,
'ng-false-value'=>'0'
]); ?>
<label for="<?php echo $attribute->key . '_checkbox'; ?>" class="toggle-label"></label>
<?php if(!empty($attribute->extra_info) ): ?>
<span class="extra-info"><?php echo $attribute->extra_info; ?></span>
<?php endif; ?>
</div>