<div id="collapse_<?php echo e($element->id); ?>" class="collapse"
     aria-labelledby="heading_<?php echo e($element->id); ?>"
     data-parent="#accordion_<?php echo e($element->id); ?>">
    <div class="card-body">
        <section class="admin-visitor-area student-details header-menu">
            <form enctype="multipart/form-data" class="elementEditForm">
                <div class="row pt-0">
                    <?php if(isModuleActive('Org') || isModuleActive('FrontendMultiLang')): ?>
                        <ul class="nav nav-tabs no-bottom-border  mt-sm-md-20 mb-10 ms-3"
                            role="tablist">
                            <?php $__currentLoopData = $LanguageList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li class="nav-item">
                                    <a class="nav-link  <?php if(auth()->user()->language_code == $language->code): ?> active <?php endif; ?>"
                                       href="#element<?php echo e($element->id.$language->code); ?>"
                                       role="tab"
                                       data-bs-toggle="tab"><?php echo e($language->native); ?>  </a>
                                </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                    <?php endif; ?>
                </div>
                <div class="row">
                    <input type="hidden" name="id" class="id"
                           value="<?php echo e($element->id); ?>">
                    <input type="hidden" name="type" class="type"
                           value="<?php echo e($element->type); ?>">
                    <div class="col-lg-12">
                        <div class="tab-content">
                            <?php $__currentLoopData = $LanguageList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div role="tabpanel"
                                     class="tab-pane fade <?php if(auth()->user()->language_code == $language->code): ?> show active <?php endif; ?>  "
                                     id="element<?php echo e($element->id.$language->code); ?>">

                                    <div class="primary_input mb-25">
                                        <label class="primary_input_label"
                                               for="title">
                                            <?php echo e(__('Navigation Label')); ?> </label>
                                        <input
                                            class="primary-input form-control title"
                                            type="text"
                                            name="title[<?php echo e($language->code); ?>]"
                                            autocomplete="off"
                                            value="<?php echo e($element->getTranslation('title',$language->code)); ?>"
                                            placeholder="<?php echo e(__('Navigation Label')); ?>"
                                            <?php echo e($element->type =='tag'?'readonly':''); ?> required>
                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </div>
                    <?php if($mega_menu==0 || ($mega_menu==1 && $level!=2)): ?>
                        <div class="col-lg-6">
                            <div class="primary_input mb-25">
                                <label class="primary_input_label" for="link">
                                    Link
                                </label>
                                <input class="primary-input form-control link"
                                       type="text" name="link" autocomplete="off"
                                       value="<?php echo e($element->link); ?>"
                                       placeholder="Link">
                            </div>
                        </div>
                    <?php endif; ?>
                    <?php if($mega_menu==0 || ($mega_menu==1 && $level==1)): ?>
                        <div class="col-xl-6 mt-30">
                            <div class="primary_input">
                                <div class="row">
                                    <div class="col-lg-12">


                                        <label class="primary_checkbox d-flex mr-12"
                                               style="width: 100%;">
                                            <input type="checkbox" name="is_newtab"
                                                   id="is_newtab_<?php echo e($element->id); ?>"

                                                   value="1" <?php echo e($element->is_newtab == 1? 'checked':''); ?>>
                                            <span
                                                class="checkmark me-2"></span> <?php echo e(__('Open link in a new tab')); ?>

                                        </label>
                                    </div>
                                </div>
                            </div>
                        </div>


                        <div class="col-xl-6 <?php echo e(!empty($element->parent_id)?'d-none':''); ?>">
                            <div class="primary_input">
                                <label class="primary_input_label mb-25"
                                       for=""><?php echo e(__('frontendmanage.Mega Menu')); ?></label>
                                <div class="row">
                                    <div class="col-lg-6 mb-25">
                                        <div
                                            class="input-effect custom-transfer-account">

                                            <label
                                                class="primary_checkbox d-flex mr-12">
                                                <input type="radio" class="mega_menu"
                                                       name="mega_menu"
                                                       value="1"
                                                    <?php echo e($element->mega_menu == 1?'checked':''); ?> >
                                                <span
                                                    class="checkmark me-2"></span> <?php echo e(__('common.Yes')); ?>

                                            </label>
                                        </div>
                                    </div>
                                    <div class="col-lg-6 mb-25">


                                        <div
                                            class="input-effect custom-transfer-account">

                                            <label
                                                class="primary_checkbox d-flex mr-12">
                                                <input type="radio"
                                                       name="mega_menu" class="mega_menu"
                                                       value="0"
                                                    <?php echo e($element->mega_menu != 1?'checked':''); ?>>
                                                <span
                                                    class="checkmark me-2"></span> <?php echo e(__('common.No')); ?>

                                            </label>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-6 no-mega-menu <?php echo e($element->mega_menu==1?'d-none':''); ?>">
                            <div class="primary_input">
                                <label class="primary_input_label mb-25"
                                       for="">
                                    <?php echo e(__('Show Direction')); ?> <small class="font-italic">
                                        (<?php echo e(__('frontendmanage.open submenu in left or right')); ?>)
                                    </small>

                                </label>
                                <div class="row">
                                    <div class="col-lg-6 mb-25">
                                        <div
                                            class="input-effect custom-transfer-account">

                                            <label
                                                class="primary_checkbox d-flex mr-12">
                                                <input type="radio"
                                                       name="from_bank_name"
                                                       value="1"
                                                    <?php echo e($element->show == 1?'checked':''); ?> >
                                                <span
                                                    class="checkmark me-2"></span> <?php echo e(__('Left')); ?>

                                            </label>
                                        </div>
                                    </div>
                                    <div class="col-lg-6 mb-25">


                                        <div
                                            class="input-effect custom-transfer-account">

                                            <label
                                                class="primary_checkbox d-flex mr-12">
                                                <input type="radio"
                                                       name="from_bank_name"
                                                       value="0"
                                                    <?php echo e($element->show == 0?'checked':''); ?>>
                                                <span
                                                    class="checkmark me-2"></span> <?php echo e(__('Right')); ?>

                                            </label>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-6 yes-mega-menu  <?php echo e($element->mega_menu!=1?'d-none':''); ?>">
                            <div class="primary_input">

                                <div class="row">
                                    <div class="col-lg-12 mb-25">
                                        <div
                                            class="input-effect custom-transfer-account">
                                            <div class="primary_input mb-25">

                                                <select class="primary_select mb-25" name="mega_menu_column"
                                                        id="mega_menu_column<?php echo e($element->id); ?>">
                                                    <option
                                                        value=""><?php echo e(__('common.Select')); ?> <?php echo e(__('frontendmanage.Column')); ?></option>
                                                    <?php for($i=1;$i<=12;$i++): ?>
                                                        <option
                                                            value="<?php echo e($i); ?>"
                                                            <?php echo e($element->mega_menu_column==$i?'selected':''); ?>

                                                        ><?php echo e($i); ?>  <?php echo e(__('frontendmanage.Column')); ?></option>
                                                    <?php endfor; ?>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    <?php endif; ?>
                    <div class="col-lg-12 text-center">
                        <div class="d-flex justify-content-center pt_20">
                            <button type="button"
                                    class="editBtn primary-btn fix-gr-bg"><i
                                    class="ti-check"></i>
                                <?php echo e(__('update')); ?>

                            </button>
                        </div>
                    </div>

                </div>
            </form>
        </section>
    </div>
</div>
<?php /**PATH /home/minialms/card.minialms.com/Modules/FrontendManage/Resources/views/headermenu/menu_edit_form.blade.php ENDPATH**/ ?>