<?php $__env->startSection('content'); ?>
<section>
<div class="container">
    <div class="row">
        <div class="col-sm-12">

            <div class="wrapper-page">

                <div class="account-pages">
                    <div class="account-box">
                        <div class="account-logo-box">
                            <h2 class="text-uppercase text-center">
                                <a href="javascript:void(0)" class="text-success">
                                    <span><img src="<?php echo e(asset('assets/images/logo_dark.png')); ?>" alt="" height="30"></span>
                                </a>
                            </h2>
                            <h5 class="text-uppercase font-bold m-b-5 m-t-50">Register</h5>
                            
                            
                        </div>
                        <div class="account-content">
                            <?php echo $__env->make('widget/notifications', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                            <form class="form-horizontal" action="<?php echo e(route('register')); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <div class="form-group m-b-20 row <?php if ($errors->has('name')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('name'); ?> has-danger <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>">
                                    
                                        <label for="emailaddress">First Name <code>*</code></label>
                                       
                                        <input  type="text" class="form-control <?php if ($errors->has('name')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('name'); ?> form-control-danger <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>" name="name" value="<?php echo e(old('name')); ?>" required  autofocus>
                                        
                                        <?php if ($errors->has('name')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('name'); ?>
                                            <div class="form-control-feedback"><?php echo e($message); ?></div>
                                        <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>
                                    
                                </div>
                                
                                <div class="form-group m-b-20 row">
                                    
                                        <label for="emailaddress">Last Name</label>
                                       
                                        <input  type="text" class="form-control" name="last_name" value="<?php echo e(old('last_name')); ?>" >
                                        
                                    
                                </div>
                                <div class="form-group m-b-20 row <?php if ($errors->has('email')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('email'); ?> has-danger <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>">
                                   
                                        <label for="emailaddress">Email address</label>
                                       
                                        <input id="email" type="email" class="form-control <?php if ($errors->has('email')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('email'); ?> form-control-danger <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>" name="email" value="<?php echo e(old('email')); ?>" required autocomplete="email" autofocus>
                                        
                                        <?php if ($errors->has('email')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('email'); ?>
                                            <div class="form-control-feedback"><?php echo e($message); ?></div>
                                        <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>
                                    
                                </div>
                                
                                <div class="form-group m-b-20 row">
                                    <label >Phone <span class="text-danger">*</span></label>
                                    
                                        <input type="text" name="phone" required="" class="form-control" value="<?php echo e(old('phone')); ?>">
                                    
                                </div>
                                <div class="form-group m-b-20 row">
                                    <label > Address <span class="text-danger">*</span></label>
                                   
                                        <input type="text" name="address" class="form-control" required value="<?php echo e(old('address')); ?>">
                                    
                                </div>
                                <div class="form-group m-b-20 row">
                                    <label >City <span class="text-danger">*</span></label>
                                        <input type="text" name="city" required="" class="form-control" value="<?php echo e(old('city')); ?>">
                                </div>
                                <div class="form-group m-b-20 row">
                                    <label >Province <span class="text-danger">*</span></label>
                                        <input type="text" name="state" required="" class="form-control" value="<?php echo e(old('state')); ?>">
                                </div>
                                <div class="form-group m-b-20 row">
                                    <label >Country <span class="text-danger">*</span></label>
                                     <select name="country" class="form-control" required>
                                        <option value="">Select Country</option>
                                        <?php if(!empty(country())): ?>
                                        <?php $__currentLoopData = country(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option  value="<?php echo e($c->iso); ?>"><?php echo e($c->nicename); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <?php endif; ?>
                                    </select>
                                </div>

                                <div class="form-group m-b-20 row">
                                    <label >Company Name <span class="text-danger">*</span></label>
                                    <input type="text" name="company_name" class="form-control" required value="<?php echo e(old('company_name')); ?>">
                                  
                                </div>
                                <div class="form-group m-b-20 row">
                                    <label >Number of employee</label>
                                    <input type="number" min="1" name="number_employee" class="form-control" value="<?php echo e(old('number_employee')); ?>">
                                </div>
                                
                                
                                

                                <div class="form-group row m-b-20 <?php if ($errors->has('password')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('password'); ?> has-danger <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>">
                                    
                                        
                                        <label for="password">Password</label>
                                        <input id="password" type="password" class="form-control <?php if ($errors->has('password')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('password'); ?> form-control-danger <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>" name="password" required autocomplete="current-password">

                                        <?php if ($errors->has('password')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('password'); ?>
                                            <div class="form-control-feedback"><?php echo e($message); ?></div>
                                        <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>
                                    
                                </div>
                                
                                <div class="form-group row m-b-20 <?php if ($errors->has('password')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('password'); ?> has-danger <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>">
                                    
                                        
                                        <label for="password">Confirm Password</label>
                                        <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="confirm-password" >

                                        <?php if ($errors->has('password')) :
if (isset($message)) { $messageCache = $message; }
$message = $errors->first('password'); ?>
                                            <div class="form-control-feedback"><?php echo e($message); ?></div>
                                        <?php unset($message);
if (isset($messageCache)) { $message = $messageCache; }
endif; ?>
                                    
                                </div>

                                

                                <div class="form-group row text-center m-t-10">
                                   
                                        <button class="btn btn-md btn-block btn-primary waves-effect waves-light" type="submit">Register</button>
                                    
                                </div>

                            </form>
                            

                        </div>
                    </div>
                </div>
                <!-- end card-box-->


            </div>
            <!-- end wrapper -->

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

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/aerocodex/public_html/crm/project/resources/views/auth/register.blade.php ENDPATH**/ ?>