<?php $__env->startSection('content'); ?>
<div class="container-xxl flex-grow-1 container-p-y">
  <div class="card">
    <div class="card-header">
      <h5 class="mb-0">Create Category</h5>
    </div>

    <div class="card-body">
      <form method="POST" action="<?php echo e(route('admin.categories.store')); ?>" class="row g-3">
        <?php echo csrf_field(); ?>

        <div class="col-md-6">
          <label class="form-label">Name</label>
          <input name="name" class="form-control" value="<?php echo e(old('name')); ?>" required>
        </div>

        <div class="col-md-6">
          <label class="form-label">Slug</label>
          <input name="slug" class="form-control" value="<?php echo e(old('slug')); ?>">
        </div>

        <div class="col-md-6">
          <label class="form-label">Icon</label>
          <input name="icon" class="form-control" value="<?php echo e(old('icon')); ?>">
        </div>

        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($isAdminOrSuper): ?>
          <div class="col-md-6 form-check mt-4">
            <input class="form-check-input" type="checkbox" name="is_active" value="1" checked>
            <label class="form-check-label">Active</label>
          </div>
        <?php else: ?>
          <div class="col-12">
            <div class="alert alert-warning mb-0">
              New category will be created as <strong>Pending</strong>. Admin or Super Admin will activate it.
            </div>
          </div>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

        <div class="col-12">
          <button class="btn btn-primary">Save</button>
        </div>
      </form>
    </div>
  </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH F:\xampp\htdocs\G_desizn\marketplace\resources\views/admin/categories/create.blade.php ENDPATH**/ ?>