HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
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>