<?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('setting.edittitle'); ?>
            <?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 $__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('setting.edittitle'); ?></h3><br>
				<form method="post" class="btn-submit" action="<?php echo e(route('setting.update',$data->id)); ?>" enctype="multipart/form-data">
					<?php echo csrf_field(); ?>
					<?php echo method_field('PUT'); ?>
					<div class="row myinput mt-4">
						<center>
							<img src="<?php echo e(asset($data->image)); ?>" style="max-height: 100px;">
						</center>
						<div class="form-group mb-3 col-md-6" style="margin: 0 auto;">
							<label><?php echo app('translator')->get('setting.image'); ?>:</label>
							<div class="input-group mt-2">
								<input class="form-control" type="file" name="image" id="image">
								<br>
							</div>
						</div>
					</div>
					<div class="row myinput">
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.name'); ?>:</label>
							<div class="input-group mt-2">
								<input type="text" class="form-control" name="name"  value="<?php echo e($data->name); ?>">
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.name_bangla'); ?>:</label>
							<div class="input-group mt-2">
								<input type="text" class="form-control" name="name_bangla"  value="<?php echo e($data->name_bangla); ?>">
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.email'); ?>:</label>
							<div class="input-group mt-2">
								<input type="text" class="form-control" name="email"  value="<?php echo e($data->email); ?>">
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.phone'); ?>:</label>
							<div class="input-group mt-2">
								<input type="text" class="form-control" name="phone"  value="<?php echo e($data->phone); ?>">
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.established'); ?>:</label>
							<div class="input-group mt-2">
								<input type="text" class="form-control" name="established"  value="<?php echo e($data->established); ?>">
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.established_bangla'); ?>:</label>
							<div class="input-group mt-2">
								<input type="text" class="form-control" name="established_bangla"  value="<?php echo e($data->established_bangla); ?>">
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.meta'); ?>:</label>
							<div class="input-group mt-2">
								<input type="text" class="form-control" name="meta"  value="<?php echo e($data->meta); ?>">
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.meta_title'); ?>:</label>
							<div class="input-group mt-2">
								<input type="text" class="form-control" name="meta_title"  value="<?php echo e($data->meta_title); ?>">
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.description'); ?>:</label>
							<div class="input-group mt-2">
								<textarea  class="form-control w-100" rows="5" type="text" name="description"><?php echo e($data->description); ?></textarea>
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.map'); ?>:</label>
							<div class="input-group mt-2">
								<textarea  class="form-control w-100" rows="5" type="text" name="map"><?php echo e($data->map); ?></textarea>
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.page'); ?>:</label>
							<div class="input-group mt-2">
								<textarea  class="form-control w-100" rows="5" type="text" name="page"><?php echo e($data->page); ?></textarea>
							</div>
						</div>
						<div class="form-group mb-3 col-md-6">
							<label><?php echo app('translator')->get('setting.youtube'); ?>:</label>
							<div class="input-group mt-2">
								<textarea  class="form-control w-100" rows="5" type="text" name="youtube"><?php echo e($data->youtube); ?></textarea>
							</div>
						</div>
						<div class="form-group mb-3 col-md-12">
							<label><?php echo app('translator')->get('setting.address'); ?>:</label>
							<div class="input-group mt-2">
								<textarea  class="form-control w-100" rows="5" type="text" name="address"><?php echo e($data->address); ?></textarea>
							</div>
						</div>
						<div class="form-group mb-3 col-md-12">
							<label><?php echo app('translator')->get('setting.address_bangla'); ?>:</label>
							<div class="input-group mt-2">
								<textarea  class="form-control w-100" rows="5" type="text" name="address_bangla"><?php echo e($data->address_bangla); ?></textarea>
							</div>
						</div>
						<div class="form-group mb-3 col-md-12">
							<label><?php echo app('translator')->get('setting.scrolling_text'); ?>:</label>
							<div class="input-group mt-2">
								<textarea  class="form-control w-100" rows="5" type="text" name="scrolling_text"><?php echo e($data->scrolling_text); ?></textarea>
							</div>
						</div>
						<div class="form-group mb-3 col-md-12">
							<label><?php echo app('translator')->get('setting.type'); ?>:</label>
							<div class="input-group mt-2">
								<select class="form-control" name="type">
									<option <?php if($data->type == 'school'): ?> selected <?php endif; ?> value="school">School</option>
									<option <?php if($data->type == 'college'): ?> selected <?php endif; ?> value="college">College</option>
									<option <?php if($data->type == 'madrasah'): ?> selected <?php endif; ?> value="madrasah">Madrasah</option>
								</select>
							</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.update'); ?></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/setting/create.blade.php ENDPATH**/ ?>