        @extends('layouts.main')
        @section('content')
        
        <!-- Content Wrapper. Contains page content -->
        
        <div class="content-wrapper">
        
            <!-- Content Header (Page header) -->
            
            <section class = "content-header">
            
              <div class   = "container-fluid">
            
                <div class  = "row mb-2">
            
                  <div class = "col-sm-6">
            
                    <h1> 
                    
                            <a href = "{{url('listPs')}}" >
                                
                                 View PS
                            
                            </a>
                            
                    </h1>
            
                  </div>
            
                  <div class = "col-sm-6">
            
                    <ol class = "breadcrumb float-sm-right">
            
                      <li class = "breadcrumb-item"><a href="#">Home</a></li>
            
                      <li class = "breadcrumb-item active">Add New PS</li>
            
                    </ol>
            
                  </div>
                </div>
              </div>
              
              <!-- /.container-fluid -->
             
             </section>
             
     
     @if (session('status'))
     
     <div class="alert alert-success">
     
        {{ session('status') }}
     
     </div>
     
     @endif
     
     <section class="content">
        
        <div class="container-fluid">
        
        <div class="row">
          
        <!-- left column -->
          
          <div class="col-md-12">
            
            <!-- jquery validation -->
            
            <div class="card card-primary">
            
              <div class="card-header">
        
                <h3 class="card-title">Add New PS </h3>
        
              </div>
           
              <form id= " quickForm " action = "savePS" method = "POST" >
            
                    @csrf
            
                    <input type="hidden" name="_token" value="{{ csrf_token() }}" />
                    
                    <input type="hidden" name="type" value="manual" />
            
            <div class  = "row">
            
                      <div class="col-6">
                       
                        <label for  = "exampleInputPassword1"> Name</label>
                        
        <input type = "text" name = "psname" class = "form-control" id = "mobile" placeholder = " Enter Name" required>
                        
                        </div>
                        
                        <div class = "col-6">
                             
                        <label for = "exampleInputPassword1"> Mobile  </label>
                              
            <input type = "text" name = "mobile" class = "form-control" id = "eml" placeholder = "Enter Mobile" required>
            
                        </div> 
                        
                         <div class = "col-6">
                             
                        <label for = "exampleInputPassword1"> Address  </label>
                              
            <input type = "text" name = "address" class = "form-control" id = "address" placeholder = "Enter Address" required>
            
                        </div> 
                        
                         <div class = "col-6">
                             
                        <label for = "exampleInputPassword1"> User   </label>
                              
            <input type = "text" name = "user" class = "form-control" id = "user" placeholder = "Enter User " required>
            
                        </div> 
                        
                        <div class = "col-6">
                             
                        <label for = "exampleInputPassword1"> Password    </label>
                              
            <input type = "text" name = "pass" class = "form-control" id = "pass" placeholder = "Enter Password " required>
            
                        </div> 
                        
                       
                        <?php //print_r($DSAchannel); die();?>
                      
                      <div class = "col-6" >
                      <label for = "exampleInputPassword1"> </label>
                    <br>
                            <input type  = "submit" name = "submit" class = "btn btn-primary"
                            id = "eml" required>      
                      </div>

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

            <!-- /.card -->
            
          </div>
          
          <!--/.col (left) -->
          <!-- right column -->
          
          <div class="col-md-6">

          </div>
          
          <!--/.col (right) -->
        </div>
        <!-- /.row -->
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  @endsection