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

    <div class="right-side">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <!-- Starting of Dashboard Contact Customer area -->
                    <div class="section-padding add-product-1">
                        <div class="row">
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                <div class="add-product-box">
                                    <div class="add-product-header">
                                        <h2>Send Email to <?php echo e($customer->name); ?></h2>
                                        <a href="<?php echo url('admin/users'); ?>" class="add-back-btn"><i class="fa fa-arrow-left"></i> back</a>
                                    </div>
                                    <hr/>
                                    <form method="POST" action="<?php echo action('UsersController@sendemail'); ?>" class="form-horizontal">
                                        <?php echo e(csrf_field()); ?>

                                        <input type="hidden" value="<?php echo e($customer->email); ?>" name="to">
                                        <div class="form-group">
                                            <label class="control-label col-sm-3" for="subject_customer">Subject*</label>
                                            <div class="col-sm-8">
                                                <input type="text" class="form-control" name="subject" id="subject_customer" placeholder="Enter subject" required>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label col-sm-3" for="message_customer">Message*</label>
                                            <div class="col-sm-8">
                                                <textarea name="message" id="message_customer" class="form-control" rows="5" style="resize: vertical;" placeholder="Enter Message" required></textarea>
                                            </div>
                                        </div>

                                        <hr/>
                                        <div class="add-product-footer">
                                            <button name="addProduct_btn" type="submit" class="btn btn-success add-product_btn">send email</button>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- Ending of Dashboard Contact Customer area -->


                </div>
            </div>
        </div>
    </div>

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

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

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.includes.masterpage-admin', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>