<?php $__env->startSection('small_title'); ?>
Gallery
<?php $__env->stopSection(); ?>


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

                <div class="page-content">
                    <div class="container-fluid">

                        <!-- start page title -->
                        <div class="row">
                            <div class="col-12">
                                <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                                    <h4 class="mb-sm-0 font-size-18"> Add </h4>

                                    <div class="page-title-right">
                                        <ol class="breadcrumb m-0">
                                            <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard.index')); ?>">Dashboard</a></li>
                                            <li class="breadcrumb-item active"> Gallery </li>
                                        </ol>
                                    </div>

                                </div>
                            </div>
                            <?php if(Session::has('message')): ?>
<div class="alert alert-info"><?php echo e(Session::get('message')); ?></div>

<?php endif; ?>
                        </div>
                        <!-- end page title -->

                        <div>
                            <form method="post" action="<?php echo e(route('imageGallaries.store')); ?>" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>

                                <div class="col-lg-12">
                                    <h6 class="m-0 font-weight-bold text-primary pull-left" >Image</h6>
                                    <hr>
                                    <div class="fileinput fileinput-new"data-provides="fileinput">
                                        <div class="fileinput-new img-thumbnail" style="width: 300px; height: 150px;">
                                            <img src="http://via.placeholder.com/"  alt="...">
                                        </div>
                                        <div class="fileinput-preview fileinput-exists img-thumbnail" style="max-width: 150px; max-height: 150px;"></div>
                                        <div class="mt-2">
                                            <span class="btn btn-outline-secondary btn-file"><span class="fileinput-new">   Select A File </span><span class="fileinput-exists">Edit</span><input type="file" name="image"></span>
                                            <a href="#" class="btn btn-outline-secondary fileinput-exists"  data-dismiss="fileinput">Delete</a>
                                        </div>
                                        <?php $__errorArgs = ['image'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                        <span class="alert-danger"><?php echo e($message); ?></span>
                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                    </div>

                                <h6 class="m-0 font-weight-bold text-primary pull-left" >Type</h6>
                                <hr>

                                <div class="input-group" style="margin-top: 15px;">
                                    <select name="type" class="form-control">
                                          <?php $__currentLoopData = gallery_types(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                          <option><?php echo e($item); ?></option>
                                          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                    <?php $__errorArgs = ['type'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="alert-danger"><?php echo e($message); ?></span>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                                <br>

                                  <h6 class="m-0 font-weight-bold text-primary pull-left" >Title</h6>
                                <hr>

                                <div class="input-group" style="margin-top: 15px;">
                                     <input class="form-control" name="title">
                                    <?php $__errorArgs = ['title'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="alert-danger"><?php echo e($message); ?></span>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                                <br>
                                 <br>

                                  <h6 class="m-0 font-weight-bold text-primary pull-left" >Section</h6>
                                <hr>

                                <div class="input-group" style="margin-top: 15px;">
                                    <select name="section" class="form-control">
                                          <?php $__currentLoopData = gallery_sections(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                          <option><?php echo e($item); ?></option>
                                          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                    <?php $__errorArgs = ['section'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class="alert-danger"><?php echo e($message); ?></span>
                                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                </div>
                                <br>
                                 <br>

                            </div>

                                <input type="submit" value="Save" class=" btn btn-secondary">


                            </form>
                        </div>






</div>
<!-- container-fluid -->
</div>
<!-- End Page-content -->



<?php $__env->stopSection(); ?>





<?php echo $__env->make('Admin.master_page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\2024\projects\laravel\aria_water\resources\views/Admin/image_gallery/create.blade.php ENDPATH**/ ?>