
<?php $__env->startSection('title','Tambah Lokasi'); ?>

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

<div class="hero">

    <h1>📍 Tambah Lokasi</h1>

    <p>Masukkan data lokasi untuk digunakan oleh event konser.</p>

</div>

<div class="card-neon">

    <div class="card-header bg-transparent border-0">
        <h3 class="m-0">Form Tambah Lokasi</h3>
    </div>

    <div class="card-body">

        <form action="<?php echo e(route('lokasi.store')); ?>" method="POST">
            <?php echo csrf_field(); ?>

            <div class="form-group">
                <label class="form-label">Nama Lokasi</label>
                <input
                    type="text"
                    name="nama_lokasi"
                    class="form-control form-control-dark"
                    value="<?php echo e(old('nama_lokasi')); ?>"
                    required
                >
                <?php $__errorArgs = ['nama_lokasi'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div class="text-danger mt-1"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>

            <div class="form-group">
                <label class="form-label">Alamat</label>
                <textarea
                    name="alamat"
                    class="form-control form-control-dark"
                    rows="4"
                    required
                ><?php echo e(old('alamat')); ?></textarea>
                <?php $__errorArgs = ['alamat'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div class="text-danger mt-1"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>

            <div class="form-group">
                <label class="form-label">Kapasitas</label>
                <input
                    type="number"
                    name="kapasitas"
                    class="form-control form-control-dark"
                    value="<?php echo e(old('kapasitas')); ?>"
                    required
                >
                <?php $__errorArgs = ['kapasitas'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div class="text-danger mt-1"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>

            <div class="d-flex gap-2">
                <button type="submit" class="btn btn-primary-glow">
                    <i class="bi bi-check-circle-fill"></i>
                    Simpan
                </button>

                <a href="<?php echo e(route('lokasi.index')); ?>" class="btn btn-outline-soft">
                    <i class="bi bi-arrow-left"></i>
                    Kembali
                </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/lokasi/create.blade.php ENDPATH**/ ?>