<?php echo $__env->make('admin/partial/header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

        <!-- start page container -->
        <div class="page-container">
 			<!-- start sidebar menu -->
 			<?php echo $__env->make('admin/partial/nav', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            <!-- end sidebar menu --> 
			<!-- start page content -->
            <div class="page-content-wrapper">
                <div class="page-content">
                    <div class="page-bar">
                        <div class="page-title-breadcrumb">
                            <div class=" pull-left">
                                <div class="page-title">Add Admin</div>
                            </div>
                                <?php echo $__env->make('admin/partial/sub2', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                            

                            <!-- <ol class="breadcrumb page-breadcrumb pull-right">
                                <li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="index.html">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li class="active">Add Admin</li>
                            </ol> -->
                        </div>
                    </div>
                    



                  
                  <div class="panel panel-default">
                        <!-- <div class="panel-heading">
                              <h3 class="panel-title">Add Admin</h3>
                        </div> -->
                        <div class="panel-body">
                        <?php if(count($errors)>0): ?>
                        <ul class="list-group">
                            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li class="list-group text-danger">
                            <?php echo e($error); ?>

                            </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>

                        <?php endif; ?>
                                
                              <form action="<?php echo e(url('STOREADMIN')); ?>" method="POST" class="form-horizontal" role="form" enctype="multipart/form-data">
                                      
                                
                                <div class="row">
                                    <?php echo e(csrf_field()); ?>

                                    <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
                                        
                                        <label for="Firstname" >First Name</label>
                                        
                                        <input type="text" name="first_name"  id="input" class="form-control" value="<?php echo e(old('first_name')); ?>" >
                                        
                                    </div>
                                    <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
                                        
                                        <label for="Firstname" >Last Name</label>
                                        
                                        <input type="text" name="last_name" id="input" class="form-control" value="<?php echo e(old('last_name')); ?>" >
                                        
                                    </div>
                                    
                                 </div>

<br>
                                <div class="row">
                                    
                                    <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
                                        
                                        <label for="Firstname" >Correspondence address</label>
                                        
                                        <input type="text" name="correspondence_address" id="input" class="form-control" value="<?php echo e(old('correspondence_address')); ?>" >
                                        
                                    </div>
                                    <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
                                        
                                        <label for="Firstname" >Contact Phone Number</label>
                                        
                                        <input type="number" name="phone_no" id="input" class="form-control" value="<?php echo e(old('phone_no')); ?>" >
                                        
                                    </div>
                                    
                                </div>
<br>
                                <div class="row">
                                    
                                    <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
                                        
                                        <label for="Firstname" >Personal Email address</label>
                                        
                                        <input type="email" name="email" id="input" class="form-control" value="<?php echo e(old('email')); ?>" >
                                        
                                    </div>

                                    <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
                                        
                                        <label for="Picture" >Profile Picture</label>
                                        
                                        <input type="file" name="images" class="form-control" value="" >
                                        
                                    </div>

                                    
                                                            
                                </div>

<br>
                                <div class="row">
                                    

                                    <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
                                    <br>
                                    <button type="submit" class="btn btn-primary btn-lg">Submit</button>
                                    </div>
                                    
                                </div>
                                
                             
                                      
                              
                                      
                              </form>
                              
                        </div>
                  </div>
     
                    
                </div>
            </div>
            <!-- end page content -->
            
        </div>
        <!-- end page container -->



        <?php echo $__env->make('admin/partial/footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>