
<?php $__env->startSection('title'); ?>
<title><?php echo e(__('admin.Edit Language')); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin-content'); ?>
      <!-- Main Content -->
      <div class="main-content">
        <section class="section">
          <div class="section-header">
            <h1><?php echo e(__('admin.Edit Language')); ?></h1>
            <div class="section-header-breadcrumb">
              <div class="breadcrumb-item active"><a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e(__('admin.Dashboard')); ?></a></div>
              <div class="breadcrumb-item active"><a href="<?php echo e(route('admin.languages.index')); ?>"><?php echo e(__('admin.Languages')); ?></a></div>
              <div class="breadcrumb-item"><?php echo e(__('admin.Edit Language')); ?></div>
            </div>
          </div>

          <div class="section-body">
            <a href="<?php echo e(route('admin.languages.index')); ?>" class="btn btn-primary"><i class="fas fa-list"></i> <?php echo e(__('admin.Languages')); ?></a>
            <div class="row mt-4">
                <div class="col-12">
                  <div class="card">
                    <div class="card-body">
                        <form action="<?php echo e(route('admin.languages.update', $language->id)); ?>" method="POST">
                          <?php echo method_field('PUT'); ?>
                            <?php echo csrf_field(); ?>
                            <div class="row">
                                <div class="form-group col-12">
                                    <label><?php echo e(__('admin.Name')); ?> <span class="text-danger">*</span></label>
                                    <input type="text" id="name" class="form-control"  name="name" value="<?php echo e(old('name', $language->name)); ?>">
                                </div>

                                <div class="form-group col-12">
                                    <label><?php echo e(__('admin.Direction')); ?> <span class="text-danger">*</span></label>
                                    <select name="direction" class="form-control">
                                        <option value="ltr" <?php echo e(old('direction', $language->direction) == 'ltr' ? 'selected' : ''); ?> ><?php echo e(__('admin.ltr')); ?></option>
                                        <option value="rtl" <?php echo e(old('direction', $language->direction) == 'rtl' ? 'selected' : ''); ?>><?php echo e(__('admin.rtl')); ?></option>
                                    </select>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-12">
                                    <button class="btn btn-primary"><?php echo e(__('admin.Save')); ?></button>
                                </div>
                            </div>
                        </form>
                    </div>
                  </div>
                </div>
          </div>
        </section>
      </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\laragon\www\topland\script_content\main_files\resources\views/admin/edit_language.blade.php ENDPATH**/ ?>