<?php $__env->startSection('page_title', __('Send Mail')); ?>

<?php $__env->startSection('content'); ?>
<div class="main-content">
	<section class="section">
		<div class="section-header">
			<h1><?php echo app('translator')->get('Send Mail'); ?></h1>
			<div class="section-header-breadcrumb">
				<div class="breadcrumb-item active">
					<a href="<?php echo e(route('admin.home')); ?>"><?php echo app('translator')->get('Dashboard'); ?></a>
				</div>
				<div class="breadcrumb-item"><?php echo app('translator')->get('Send Mail'); ?></div>
			</div>
		</div>

		<div class="row mb-3">
			<div class="container-fluid" id="container-wrapper">
				<div class="row justify-content-center">
					<div class="col-lg-12">
						<div class="card mb-4 card-primary shadow">
							<div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
								<h6 class="m-0 font-weight-bold text-primary"><?php echo app('translator')->get('Send mail'); ?></h6>
							</div>
							<div class="card-body">
								<form action="<?php echo e(route('send.mail.user',$user)); ?>" method="POST">
									<?php echo csrf_field(); ?>
									<div class="row">
										<div class="col-md-12">
											<div class="form-group">
												<label for="name"><?php echo app('translator')->get('Subject'); ?></label>
												<input type="text" name="subject" value="<?php echo e(old('subject')); ?>"
													   class="form-control <?php $__errorArgs = ['subject'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
												<div class="invalid-feedback"><?php $__errorArgs = ['subject'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo app('translator')->get($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></div>
											</div>
										</div>
									</div>
									<div class="row">
										<div class="col-sm-12">
											<div class="form-group">
												<label><?php echo app('translator')->get('Email Body'); ?></label>
												<textarea class="form-control summernote" name="template"
														  id="summernote" rows="20"><?php echo e(old('template')); ?></textarea>
												<?php if($errors->has('template')): ?>
													<div class="error text-danger"><?php echo app('translator')->get($errors->first('template')); ?> </div>
												<?php endif; ?>
											</div>
										</div>
									</div>
									<button type="submit" class="btn btn-sm btn-primary btn-block">
										<span><?php echo app('translator')->get('Send'); ?></span>
									</button>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

	</section>
</div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xamp\htdocs\Paysecure-wallet\project\resources\views/admin/user/sendMail.blade.php ENDPATH**/ ?>