<?php $__env->startSection('title'); ?><?php echo e(__('translations.categories-edit')); ?><?php $__env->stopSection(); ?>
<?php $__env->startSection('sub-title'); ?><?php echo e(__('translations.categories')); ?><?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
  <div class="post d-flex flex-column-fluid" id="kt_post">
    <div id="kt_content_container" class="container-fluid">
      <div class="row">
        <div class="col-12">
          <div class="card card-docs mb-2">
            <div class="card-header">
              <div class="card-title m-0">
                <h3 class="fw-bolder m-0"><?php echo e(__('translations.categories-edit')); ?></h3>
              </div>
            </div>
            <div class="card-body">
              <form action="<?php echo e(route('admin.categories.update', $category->id)); ?>" method="post">
                <?php echo csrf_field(); ?>
                <?php echo method_field('PUT'); ?>
                <div class="row">
                  <div class="col-md-12 mb-5">
                    <label class="form-label"><?php echo e(__('translations.categories-name')); ?> <span class="text-danger">*</span></label>
                    <input type="text" class="form-control" name="name" value="<?php echo e($category->name); ?>" required/>
                    <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="fv-plugins-message-container invalid-feedback"><strong><?php echo e($message); ?></strong></div><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                  </div>
                </div>
                <div class="d-flex pt-5 justify-content-between align-items-center">
                  <a href="<?php echo e(route('admin.categories.index')); ?>" class="btn btn-secondary">
                    <?php echo e(__('translations.back')); ?> <i class="fa fa-undo" aria-hidden="true"></i>
                  </a>
                  <button type="submit" class="btn btn-primary">
                    <?php echo e(__('translations.update')); ?> <i class="fa fa-check" aria-hidden="true"></i>
                  </button>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/opticsin/public_html/4eye.innovationstars.net/resources/views/admin/categories/edit.blade.php ENDPATH**/ ?>