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

<head>

    <title>PopUp | Admin | Samuhik Saving & Co-Operative Society Ltd. </title>
    @include('Admin.Parts.MetaCSS')
    <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
    
  
</head>

<body>

<!--====================================================
                     MAIN NAVBAR
======================================================-->
    @include('Admin.Parts.TopHeader')

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

        <!--***** SIDE NAVBAR *****-->
        @include('Admin.Parts.LeftNav')

        <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">
                           @if (session('info'))
                           <div class="alert alert-success" style="text-transform: capitalize;">
                              {{session('info')}}
                           </div>
                           @endif
                          
                           @if ($errors->any())
                           <div class="alert alert-danger">
                              <ul>
                                 @foreach ($errors->all() as $error)
                                 <li>{{ $error }}</li>
                                 @endforeach
                              </ul>
                           </div>
                           @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="{{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>

@include('Admin.Parts.Js')
</body>

</html>
