

<?php $__env->startSection('title','Edit Kategori'); ?>

<?php $__env->startSection('content'); ?>

<div class="container" style="max-width:720px">
      <div class="card-modern p-4">
            <h3 class="mb-2">Edit Kategori</h3>

            <?php if($errors->any()): ?>
                  <div class="alert alert-danger"><ul class="mb-0"><?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $err): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><li><?php echo e($err); ?></li><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?></ul></div>
            <?php endif; ?>

            <form action="<?php echo e(route('kategori.update',$kategori->id)); ?>" method="POST">
                  <?php echo csrf_field(); ?> <?php echo method_field('PUT'); ?>
                  <div class="floating-label mb-3">
                        <input type="text" name="nama_kategori" class="input-rounded form-control" placeholder=" " value="<?php echo e(old('nama_kategori',$kategori->nama_kategori)); ?>" required>
                        <label>Nama Kategori</label>
                  </div>

                  <div class="d-flex gap-2">
                        <button type="submit" class="btn btn-primary">Simpan</button>
                        <a href="<?php echo e(route('kategori.index')); ?>" class="btn btn-outline-secondary">Batal</a>
                  </div>
            </form>
      </div>
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\tugas pa asur\konser-ticket\resources\views/kategori/edit.blade.php ENDPATH**/ ?>