<?php namespace App\Http\Controllers;?>
<!DOCTYPE html>
<html>

<head>

    <title>PopUp | Admin | Naya Nepal Laghu Bank </title>
    <?php echo $__env->make('Admin.Parts.MetaCSS', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
  
</head>

<body>

<!--====================================================
                     MAIN NAVBAR
======================================================-->
    <?php echo $__env->make('Admin.Parts.TopHeader', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<!--====================================================
                    PAGE CONTENT
======================================================-->
    <div class="page-content d-flex align-items-stretch">

        <!--***** SIDE NAVBAR *****-->
        <?php echo $__env->make('Admin.Parts.LeftNav', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

        <div class="content-inner form-cont">
            <div class="row">
                <div class="col-md-12">
                    <div class="row">
                        <div class="col-md-6 col-lg-6">
                           <?php if(session('info')): ?>
                           <div class="alert alert-success" style="text-transform: capitalize;">
                              <?php echo e(session('info')); ?>

                           </div>
                           <?php endif; ?>
                          
                           <?php if($errors->any()): ?>
                           <div class="alert alert-danger">
                              <ul>
                                 <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                 <li><?php echo e($error); ?></li>
                                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                              </ul>
                           </div>
                           <?php endif; ?>
                        </div>
                     </div>
                    <div class="card form" id="form1">
                        <div class="card-header">
                            <h3>Add Popup</h3>
                        </div>
                        <br>
                    
                        <form action="admin_popup" method="post" enctype="multipart/form-data">
                      
                            <div class="row">
                                <div class="col-md-12">
                                  



                                    <div class="form-group">
                                        <label for="exampleInputFile">Image<i style="color: red">*</i> <i style="margin-left: 20px; font-size: 10px;">single image</i></label>
                                       
                                        <input type="file" class="form-control-file" id="exampleInputFile" name="image" required>
                                       
                                      <br>
                                        <div class="form-group">
                                            <img src="img/Popup/Popup.jpg" width="250" height="150">
                                        </div>
                                      
                                       
                                    </div>

                               
                                   
                                    
                                </div>
                                
                            </div>
                            <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
                            
                            <button type="reset" class="btn btn-general btn-white">Cancel</button>
                            <button type="submit" class="btn btn-general btn-blue mr-2">Save</button>
                        </form>
                    </div>


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

<?php echo $__env->make('Admin.Parts.Js', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</body>

</html>
