

<?php if(!empty($la) && $la->rtl == 1): ?>
  <?php $__env->startSection('styles'); ?>
  <style>
    form input {
      direction: rtl;
    }
  </style>
  <?php $__env->stopSection(); ?>
<?php endif; ?>

<?php if(empty($la) && $be->default_language_direction == 'rtl'): ?>
  <?php $__env->startSection('styles'); ?>
  <style>
    form input {
      direction: rtl;
    }
  </style>
  <?php $__env->stopSection(); ?>
<?php endif; ?>

<?php $__env->startSection('content'); ?>
<div class="page-header">
  <h4 class="page-title">Edit Keyword</h4>
  <ul class="breadcrumbs">
    <li class="nav-home">
      <a href="<?php echo e(route('admin.dashboard')); ?>">
        <i class="flaticon-home"></i>
      </a>
    </li>
    <li class="separator">
      <i class="flaticon-right-arrow"></i>
    </li>
    <li class="nav-item">
      <a href="#">Language Management</a>
    </li>
    <li class="separator">
      <i class="flaticon-right-arrow"></i>
    </li>
    <li class="nav-item">
      <a href="#">Edit Keyword</a>
    </li>
  </ul>
</div>

<div class="row">
  <div class="col-md-12">
    <div class="card">
      <div class="card-header">
        <div class="card-title d-inline-block">Edit Language Keyword</div>
        <a
          class="btn btn-info btn-sm float-right d-inline-block"
          href="<?php echo e(route('admin.language.index')); ?>"
        >
          <span class="btn-label">
            <i
              class="fas fa-backward"
              style="font-size: 12px;"
            ></i>
          </span>
          Back
        </a>
      </div>
      <div
        class="card-body pt-5 pb-5"
        id="app"
      >
        <div class="row">
          <div class="col-lg-12">
            <form
              method="post"
              action="<?php echo e(!empty($la) ? route('admin.language.updateKeyword', $la->id) : route('admin.language.updateKeyword', 0)); ?>"
              id="langForm"
            >
              <?php echo e(csrf_field()); ?>

              <div class="row">
                <div
                  class="col-md-4 mt-2"
                  v-for="(value, key) in datas"
                  :key="key"
                >
                  <div class="form-group">
                    <label
                      class="control-label"
                      style="white-space: normal;"
                    >{{ key }}</label>
                    <div class="input-group">
                      <input
                        type="text"
                        :value="value"
                        :name="'keys[' + key + ']'"
                        class="form-control form-control-lg"
                      >
                    </div>
                  </div>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>

      <div class="card-footer">
        <div class="form">
          <div class="form-group from-show-notify row">
            <div class="col-12 text-center">
              <button
                type="button"
                class="btn btn-success"
                onclick="document.getElementById('langForm').submit();"
              >Update</button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('scripts'); ?>
<script src="<?php echo e(asset('assets/admin/js/plugin/vue/vue.js')); ?>"></script>
<script src="<?php echo e(asset('assets/admin/js/plugin/vue/axios.js')); ?>"></script>
<script>
  window.Laravel = <?php echo json_encode([
    'csrfToken' => csrf_token()
  ]); ?>;
</script>

<script>
  window.app = new Vue({
    el: '#app',
    data: {
      datas: <?php echo $json; ?>

    }
  })
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\plusagency\without-license\plusagency-3.2\core\resources\views/admin/language/edit-keyword.blade.php ENDPATH**/ ?>