<div class="border-item">
    <form class="form-row" method="post" action="<?php echo e($modulesAction); ?>">
        <?php if($modules): ?>
            <input type="hidden" name="update" value="true">
        <?php endif; ?>
        <?php echo csrf_field(); ?>

        <ul class="nav nav-tabs" id="myTab" role="tablist">
                <?php $__currentLoopData = $modules; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $module): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="nav-item module_nav_item mr-3 mb-4 shadow w-25" >
                    <a class="nav-link module_nav_link" id="module-tab-<?php echo e($module->id); ?>" data-toggle="tab" href="#module-<?php echo e($module->id); ?>" role="tab" aria-controls="module-<?php echo e($module->id); ?>" aria-selected="true">
                        <b><?php echo e(moduleName($module->path, getCurrentLocale())); ?></b>
                    </a>
                </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>

        <div class="tab-content col-lg-12 mt-3" id="myTabContent">
            <?php $__currentLoopData = $modules; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $module): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="tab-pane module_tap_pane" id="module-<?php echo e($module->id); ?>" role="tabpanel" aria-labelledby="module-<?php echo e($module->id); ?>-tab">
                    <ul class="nav nav-tabs" role="tablist">
                        <?php $__currentLoopData = languages(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li class="nav-item lang_nav_item">
                                <a class="nav-link language_link module-tab-<?php echo e($module->id); ?>" id="language_link_<?php echo e($language->local); ?>_<?php echo e($module->id); ?>" data-toggle="tab" href="#language_tab_<?php echo e($language->local); ?>_<?php echo e($module->id); ?>" role="tab" aria-controls="language-tab-<?php echo e($language->local); ?>_<?php echo e($module->id); ?>" aria-selected="true">
                                    <b>Settings : <?php echo e($language->name); ?></b>
                                </a>
                            </li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </ul>

                    <div class="tab-content language_tab_content mt-4">
                        <?php $__currentLoopData = languages(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="tab-pane" id="language_tab_<?php echo e($language->local); ?>_<?php echo e($module->id); ?>" role="tabpanel" aria-labelledby="language-tab-<?php echo e($language->local); ?>_<?php echo e($module->id); ?>">
                            <div class="form-group d-flex justify-content-start">
                                <label style="width: 20%" class="d-flex align-items-center text-uppercase">module name</label>
                                <input type="text" name="module_name[<?php echo e($module->path); ?>][module_name][<?php echo e($language->local); ?>]" class="form-control" value="<?php echo e(moduleName($module->path, $language->local)); ?>">
                            </div>

                            <?php $__currentLoopData = metaFields($module->path)[$language->local]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $label => $moduleName): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="form-group d-flex justify-content-start">
                                    <label style="width: 20%" class="d-flex align-items-center"><?php echo e(str_replace('_', ' ', strtoupper($label))); ?></label>
                                    <input type="text" name="fields[<?php echo e($module->path); ?>][fields][<?php echo e($language->local); ?>][<?php echo e($label); ?>]" class="form-control" value="<?php echo e($moduleName); ?>">
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <div class="text-center mt-5 col-12">
            <button class="butn"><span><?php echo e(__('dashboard.save')); ?></span></button>
        </div>
    </form>
</div>
<?php /**PATH /Applications/MAMP/htdocs/electric/resources/views/admin/settings/module_settings.blade.php ENDPATH**/ ?>