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



<link href="<?php echo e(asset('assets/css/vendor/quill.core.css')); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo e(asset('assets/css/vendor/quill.snow.css')); ?>" rel="stylesheet" type="text/css" />


<div class="container mt-2">
		<?php $__env->startComponent('components.breadcrumb'); ?>
            <?php $__env->slot('title'); ?>
                <?php echo app('translator')->get('photo.addtitle'); ?>
            <?php $__env->endSlot(); ?>
            <?php $__env->slot('breadcrumb1'); ?>
                <?php echo app('translator')->get('common.dashboard'); ?>
            <?php $__env->endSlot(); ?>
            <?php $__env->slot('breadcrumb1_link'); ?>
                <?php echo e(route('dashboard')); ?>

            <?php $__env->endSlot(); ?>
            <?php if(\App\Traits\RolePermissionTrait::checkRoleHasPermission('role', 'create')): ?>
                <?php $__env->slot('action_button1'); ?>
                    <?php echo app('translator')->get('common.view'); ?>
                <?php $__env->endSlot(); ?>
                <?php $__env->slot('action_button1_link'); ?>
                    <?php echo e(route('photogallerys.index')); ?>

                <?php $__env->endSlot(); ?>
            <?php endif; ?>
            <?php $__env->slot('action_button1_class'); ?>
                btn-primary
            <?php $__env->endSlot(); ?>
        <?php echo $__env->renderComponent(); ?>
	<div class="col-12">
		<div class="card">
			<div class="card-body">
				<h3><?php echo app('translator')->get('photo.addtitle'); ?></h3><br>
				<form method="post" class="btn-submit" action="<?php echo e(route('photogallerys.store')); ?>" enctype="multipart/form-data">
					<?php echo csrf_field(); ?>
					<div class="row myinput">
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('photo.title'); ?>: <span class="text-danger" style="font-size: 15px;">*</span></label>
							<div class="input-group mt-2">
								<input class="form-control" type="text" name="title" id="title"  required="">
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('photo.title_bn'); ?>: </label>
							<div class="input-group mt-2">
								<input class="form-control" type="text" name="title_bn" id="title_bn">
							</div>
						</div>
						<div class="form-group mb-3 col-md-12">
							<label><?php echo app('translator')->get('common.image'); ?>: &nbsp;<span class="text-danger" style="font-size: 15px; font-weight:bold;"><?php echo app('translator')->get('common.image_text'); ?></span><span class="text-danger" style="font-size: 15px;">*</span></label>
							<div class="input-group mt-2">
								<input class="form-control" type="file" name="image" id="image" required="">
							</div>
						</div>
						<div class="form-group mb-3 col-md-12">
							<label><?php echo app('translator')->get('photo.slider'); ?>:</label>
							<div class="input-group mt-2">
								<input type="checkbox" value="1" name="slider" id="slider">&nbsp;&nbsp;&nbsp;<?php echo app('translator')->get('photo.slider_image'); ?> 
							</div>
						</div>
						<div class="modal-footer border-0">
							<button type="button" class="btn btn-secondary border-0" onClick="window.location.reload();"><?php echo app('translator')->get('common.close'); ?></button>
							<button type="submit" class="btn btn-success button border-0"><?php echo app('translator')->get('common.save'); ?></button>
						</div>
					</div>
				</form>
			</div> <!-- end card body-->
		</div> <!-- end card -->
	</div><!-- end col-->
</div>

<script src="<?php echo e(asset('assets/js/vendor/quill.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/pages/demo.quilljs.js')); ?>"></script>

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


<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/gzmcfenigov/public_html/resources/views/admin/photogallerys/create.blade.php ENDPATH**/ ?>