<?php $__env->startSection('body'); ?>
    <div class="page-header"><div class="container"><div class="row justify-content-center"><div class="col-lg-8 col-xl-7 text-center"><h2 class="page-title">Email/SMS</h2></div></div></div><!-- .container --></div><div class="page-content"><div class="container"><div class="row">




    <div class="col-lg-12"><div class="content-area card"><div class="card-innr card-innr-fix"><div class="card-head"><h6 class="card-title">Email&SMS Settings</h6></div><div class="gaps-1x"></div><!-- .gaps --><form role="form" method="POST" action="<?php echo e(route('template.update')); ?>" enctype="multipart/form-data">

<?php echo e(csrf_field()); ?>

<div class="row">

<div class="col-md-12"><div class="input-item input-with-label"><label class="input-item-label text-exlight">SMS API</label><input name="smsapi" class="input-bordered"  value="<?php echo e($temp->smsapi); ?>" type="text">API provider: www.kingsms.com.ng</div>
</div>

<div class="col-md-12"><div class="input-item input-with-label"><label class="input-item-label text-exlight">SMS API Username</label><input name="smsusername" class="input-bordered"  value="<?php echo e($temp->smsusername); ?>" type="text">Your username on www.kingsms.com.ng</div>
</div>



<div class="col-md-12"><div class="input-item input-with-label"><label class="input-item-label text-exlight">SMS Sender ID</label><input name="smssender" class="input-bordered"  value="<?php echo e($temp->smssender); ?>" type="text"></div>
</div>



</div><div class="input-item input-with-label"><label class="input-item-label text-exlight">Email Sender</label><input type="email" name="esender" value="<?php echo e($temp->esender); ?>" class="input-bordered" type="text"></div><div class="input-item input-with-label"><label class="input-item-label text-exlight">Message Template</label><textarea id="emessage" name="emessage" class="input-bordered input-textarea"><?php echo e($temp->emessage); ?></textarea></div><div class="gaps-1x"></div><button class="btn btn-primary" type="submit">Update</button></form></div><!-- .card-innr --></div><!-- .card --></div> <!-- .card --></div></div></div><!-- .container --></div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
	<script src="<?php echo e(asset('assets/admin/js/nicEdit-latest.js')); ?>" type="text/javascript"></script>
	<script type="text/javascript">
        new nicEditor().panelInstance('emessage');
	</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('include.admindashboard', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>