add: full multi-tenancy control
This commit is contained in:
22
storage/framework/views/88072a664aaf8108f0f58cda06c46095.php
Executable file
22
storage/framework/views/88072a664aaf8108f0f58cda06c46095.php
Executable file
@@ -0,0 +1,22 @@
|
||||
<?php $selectedOption = old($attribute->code) ?: $value ?>
|
||||
|
||||
<input
|
||||
type="hidden"
|
||||
name="<?php echo e($attribute->code); ?>"
|
||||
value="0"
|
||||
>
|
||||
|
||||
<label class="relative inline-flex cursor-pointer items-center">
|
||||
<input
|
||||
type="checkbox"
|
||||
name="<?php echo e($attribute->code); ?>"
|
||||
value="1"
|
||||
id="<?php echo e($attribute->code); ?>"
|
||||
class="peer sr-only"
|
||||
<?php echo e($selectedOption ? 'checked' : ''); ?>
|
||||
|
||||
>
|
||||
|
||||
<div class="peer h-5 w-9 cursor-pointer rounded-full bg-gray-200 after:absolute after:top-0.5 after:h-4 after:w-4 after:rounded-full after:border after:border-gray-300 after:bg-white after:transition-all after:content-[''] peer-checked:bg-brandColor peer-checked:after:border-white peer-focus:outline-none peer-focus:ring-blue-300 dark:bg-gray-800 dark:after:border-white dark:after:bg-white dark:peer-checked:bg-gray-950 after:ltr:left-0.5 peer-checked:after:ltr:translate-x-full after:rtl:right-0.5 peer-checked:after:rtl:-translate-x-full"></div>
|
||||
</label>
|
||||
<?php /**PATH /var/www/html/packages/Webkul/Admin/src/Resources/views/components/attributes/edit/boolean.blade.php ENDPATH**/ ?>
|
||||
Reference in New Issue
Block a user