
<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">
					<div class="d-flex justify-content-between align-items-center">
						<div>
							Add Content
						</div>
						<div>
							<a style="text-decoration:none;" href="<?php echo e(route('configs.index')); ?>">Back</a>
						</div>
					</div>
				</div>

                <div class="card-body">
					<form method="POST" action="<?php echo e(route('configs.store')); ?>" file="true" enctype="multipart/form-data">
						<?php echo csrf_field(); ?>
						<div class="p-3">
							<div class="mb-3">
								<label for="content_en" class="form-label"><?php echo e(__('labels.content_en')); ?></label>
								
								<textarea class="form-control" rows="5" id="content_en" name="content_en"  placeholder="enter english content" ></textarea>
								
								<?php $__errorArgs = ['content_en'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
									<small class="text-danger"><?php echo e($message); ?></small>
								<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?> 							
							</div>
							<div class="mb-3">
								<label for="content_mr" class="form-label"><?php echo e(__('labels.content_mr')); ?></label>
								<textarea class="form-control" rows="5" id="content_mr" name="content_mr"  placeholder="enter marathi content" ></textarea>
								<?php $__errorArgs = ['content_mr'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
									<small class="text-danger"><?php echo e($message); ?></small>
								<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
							</div>	
							
							<div class="mb-3">
							  <label for="banner" class="form-label"><?php echo e(__('labels.banner')); ?></label>
							  <input type="file" class="form-control" id="banner" name="banner" accept="image/*" placeholder="enter english image">
							</div>					
							
							<div class="py-3 text-center">
							 
							<button class="btn btn-success  btn-sm mb-1" type="submit">Add</button>

							</div>
						
						</div>
					</form>				
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\nmc-elections\resources\views/configs/create.blade.php ENDPATH**/ ?>