

<?php $__env->startSection('content'); ?>
<!-- Begin Page Content -->
<div class="container-fluid">

    <!-- Page Heading -->
    <div class="d-sm-flex align-items-center justify-content-between mb-4">
        <h1 class="h3 mb-0 text-gray-800">Tambah Paket Travel</h1>
    </div>
    
<?php if($errors -> any()): ?>
    <div class="alert alert-danger">
        <ul>
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li><?php echo e($error); ?></li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </div>
    
<?php endif; ?>

    <div class="card shadow">
        <div class="card-body">
            <form action="<?php echo e(route('travel-package.store')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <div class="form-group">
                <label for="title">Title</label>
                <input type="text" class="form-control" name="title" placeholder="Title" value="<?php echo e(old('title')); ?>">
            </div>
            <div class="form-group">
                <label for="title">Location</label>
                <input type="text" class="form-control" name="location" placeholder="Location" value="<?php echo e(old('location')); ?>">
            </div>
            <div class="form-group">
                <label for="about">About</label>
                <textarea name="about" rows="10" class="d-block w-100 home-control"><?php echo e(old('about')); ?></textarea>
            </div>
            <div class="form-group">
                <label for="title">Featured Event</label>
                <input type="text" class="form-control" name="featured_event" placeholder="Featured Event" value="<?php echo e(old('featured_event')); ?>">
            </div>
            <div class="form-group">
                <label for="title">Languange</label>
                <input type="text" class="form-control" name="languange" placeholder="Languange" value="<?php echo e(old('languange')); ?>">
            </div>
            <div class="form-group">
                <label for="title">Foods</label>
                <input type="text" class="form-control" name="foods" placeholder="Foods" value="<?php echo e(old('foods')); ?>">
            </div>
            <div class="form-group">
                <label for="title">Departure Date</label>
                <input type="date" class="form-control" name="departure_date" placeholder="Departure Date" value="<?php echo e(old('departure_date')); ?>">
            </div>
            <div class="form-group">
                <label for="title">Duration</label>
                <input type="text" class="form-control" name="duration" placeholder="Duration" value="<?php echo e(old('duration')); ?>">
            </div>
            <div class="form-group">
                <label for="title">Type</label>
                <input type="text" class="form-control" name="type" placeholder="Type" value="<?php echo e(old('type')); ?>">
            </div>
            <div class="form-group">
                <label for="title">Price</label>
                <input type="number" class="form-control" name="price" placeholder="Price" value="<?php echo e(old('price')); ?>">
            </div>
            <button type="submit" class="btn btn-primary btn-block">
                Simpan
            </button>
        </form>
        </div>
    </div>


</div>
<!-- /.container-fluid -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ahaymyid/ahaytravel/resources/views/pages/admin/travel-package/create.blade.php ENDPATH**/ ?>