Server IP : 66.29.132.124 / Your IP : 18.219.119.163 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/storage/framework/views/ |
Upload File : |
<div class="form-group"> <label><?php echo e(__("Name")); ?></label> <input type="text" value="<?php echo e($translation->name); ?>" placeholder="<?php echo e(__("Location name")); ?>" name="name" class="form-control"> </div> <?php if(is_default_lang()): ?> <div class="form-group"> <label><?php echo e(__("Parent")); ?></label> <select name="parent_id" class="form-control"> <option value=""><?php echo e(__("-- Please Select --")); ?></option> <?php $traverse = function ($categories, $prefix = '') use (&$traverse, $row) { foreach ($categories as $category) { if ($category->id == $row->id) { continue; } $selected = ''; if ($row->parent_id == $category->id) $selected = 'selected'; printf("<option value='%s' %s>%s</option>", $category->id, $selected, $prefix . ' ' . $category->name); $traverse($category->children, $prefix . '-'); } }; $traverse($parents); ?> </select> </div> <?php endif; ?> <div class="form-group"> <label class="control-label"><?php echo e(__("Description")); ?></label> <div class=""> <textarea name="content" class="d-none has-ckeditor" cols="30" rows="10"><?php echo e($translation->content); ?></textarea> </div> </div><?php /**PATH /home/book24/public_html/modules/Location/Views/admin/form.blade.php ENDPATH**/ ?>