<div class="modal fade admin-query" id="Item_Edit">
    <div class="modal-dialog modal_800px modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title"><?php echo e(__('setting.Edit Language Info')); ?></h4>
                <button type="button" class="btn-close" data-bs-dismiss="modal">
                    <i class="ti-close "></i>
                </button>
            </div>

            <div class="modal-body">
                <form action="<?php echo e(route('languages.update', $language->id)); ?>" method="POST" id="languageEditForm" enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="row">

                        <div class="col-xl-12">
                            <div class="primary_input mb-25">
                                <label class="primary_input_label" for=""><?php echo e(__('common.Name')); ?> <strong
                                        class="text-danger">*</strong></label>
                                <input name="name" class="primary_input_field name" value="<?php echo e($language->name); ?>"
                                       placeholder="Language Name" type="text" required>
                                <span class="text-danger"><?php echo e($errors->first("name")); ?></span>
                            </div>
                        </div>

                        <div class="col-xl-12">
                            <div class="primary_input mb-25">
                                <label class="primary_input_label" for=""><?php echo e(__('setting.Code')); ?> <strong
                                        class="text-danger">*</strong></label>
                                <input name="code" class="primary_input_field name" value="<?php echo e($language->code); ?>"
                                       placeholder="Language Code" type="text" required>
                                <span class="text-danger"><?php echo e($errors->first("code")); ?></span>
                            </div>
                        </div>

                        <div class="col-xl-12 ">
                            <div class="primary_file_uploader  mb-25">
                                <label class="primary_input_label" for=""><?php echo e(__('setting.Flag')); ?></label>
                                <input class="primary-input filePlaceholder" type="text"
                                       id=""
                                       placeholder="<?php echo e(__('courses.Browse Image file')); ?>"
                                       readonly="">
                                <button class="" type="button">
                                    <label class="primary-btn small fix-gr-bg" style="top: 25px;"
                                           for="document_file_add"><?php echo e(__('common.Browse')); ?></label>
                                    <input type="file" class="d-none fileUpload" name="flag_img"
                                           id="document_file_add">
                                </button>
                            </div>
                        </div>

                        <div class="col-xl-12">
                            <div class="primary_input mb-25">
                                <label class="primary_input_label" for=""><?php echo e(__('setting.Native Name')); ?> <strong
                                        class="text-danger">*</strong></label>
                                <input name="native" class="primary_input_field name" value="<?php echo e($language->native); ?>"
                                       placeholder="Native Name" type="text" required>
                                <span class="text-danger"><?php echo e($errors->first("native")); ?></span>
                            </div>
                        </div>
                        <div class="col-xl-12">
                            <div class="primary_input">
                                <div class="row">
                                    <div class="col-md-12 ">
                                        <label class="primary_input_label"
                                               for=""> <?php echo e(__('setting.Direction')); ?> <strong
                                                class="text-danger">*</strong>
                                        </label>
                                    </div>
                                    <div class="col-md-4 col-sm-6 mb-25">
                                        <label class="primary_checkbox d-flex mr-12">
                                            <input type="radio" id="type1"
                                                   name="rtl"
                                                   <?php echo e($language->rtl == 0 ?'checked':''); ?>

                                                   value="0">
                                            <span class="checkmark me-2"></span>LTL
                                        </label>
                                    </div>
                                    <div class="col-md-4 col-sm-6 mb-25">
                                        <label class="primary_checkbox d-flex mr-12">
                                            <input type="radio" id="type2"
                                                   name="rtl"
                                                   value="1"
                                                <?php echo e($language->rtl == 1 ?'checked':''); ?>

                                            >
                                            <span class="checkmark me-2"></span>RTL</label>
                                    </div>
                                </div>
                            </div>
                        </div>


                        <div class="col-lg-12 text-center">
                            <div class="d-flex justify-content-center pt_20">
                                <button type="submit" class="primary-btn semi_large2 fix-gr-bg" id="save_button_parent">
                                    <i class="ti-check"></i><?php echo e(__('common.Update')); ?>

                                </button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /home/minialms/card.minialms.com/Modules/Localization/Resources/views/languages/edit_modal.blade.php ENDPATH**/ ?>