<?php namespace App\Http\Controllers;?>
<!DOCTYPE html>
<html>
  <head>
    <title>About Us | Admin |  Samuhik Saving & Co-Operative Society Ltd.</title>
    <?php echo $__env->make('Admin.Parts.MetaCSS', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <style type="text/css">
    
    /* ================ Accordian section ================== */
    .panel-default > .panel-heading {
    background-color: #F4F7F7;
    border: none;
    }
    .panel-default {
    border: none;
    background: #F4F7F7;
    }
    .panel-heading {
    border-bottom: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding: 0px
    }
    .panel-title > a {
    background: #F4F7F7;
    display: block;
    padding: 10px 15px;
    color: #212121;
    font-size: 18px;
    position: relative;
    }
    .panel-title > a[aria-expanded=true]{
    background: #3452FF;
    color: #fff;
    }
    .panel-title > a[aria-expanded=true]:after{
    content: "-";
    background: #fff;
    color: #3452FF;
    }
    .panel-title > a:focus{
    text-decoration: none;
    }
    .panel-title > a:after{
    background: #3452ff none repeat scroll 0 0;
    border-radius: 2px;
    color: #fff;
    content: "+";
    height: 20px;
    line-height: 16px;
    position: absolute;
    right: 15px;
    text-align: center;
    top: 9px;
    width: 20px;
    font-weight: bold;
    }
    .panel-group .panel + .panel {
    margin-top: 6px;
    }
    .accordian-right-content h2{
    margin-bottom: 13px;
    }
    </style>
  </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="col-lg-12 col-md-12">
                
                <div class="accorian-item">
                  
                  
                  <form action="admin_about" method="post" enctype="multipart/form-data">
                    
                    <?php if(!$aa): ?>
                    
                        <div class="form-group">
                      <label for="exampleTextarea">Introduction<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="introduction"></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Introduction in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="introduction_nepali" placeholder="Enter Introduction here.."></textarea>
                    </div>

                    
                    

                    <div class="form-group">
                      <label for="exampleTextarea">Mission<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="mission"></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Mission in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="mission_nepali" placeholder="Enter Mission here.."></textarea>
                    </div>

                    

                    <div class="form-group">
                      <label for="exampleTextarea">Vision<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="vision"></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Vision in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="vision_nepali" placeholder="Enter vision here.."></textarea>
                    </div>

                    

                    <div class="form-group">
                      <label for="exampleTextarea">Objective<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="objective"></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Objective in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="objective_nepali" placeholder="Enter Objective here.."></textarea>
                    </div>

                     <div class="form-group">
                      <label for="exampleTextarea">Saving<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="saving"></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Saving in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="saving_nepali" placeholder="Enter Introduction here.."></textarea>
                    </div>

                     <div class="form-group">
                      <label for="exampleTextarea">Loan<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="loan"></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Loan in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="loan_nepali" placeholder="Enter Introduction here.."></textarea>
                    </div>


                       <div class="form-group">
                      <label for="exampleTextarea">Remittance<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="remittance"></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Remittance in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="remittance_nepali" placeholder="Enter Introduction here.."></textarea>
                    </div>
                    
                    <?php else: ?> 
                    
                       <div class="form-group">
                      <label for="exampleTextarea">Introduction<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="introduction"><?php echo e($aa->introduction); ?></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Introduction in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="introduction_nepali" placeholder="Enter Introduction here.."><?php echo e($aa->introduction_nepali); ?></textarea>
                    </div>

                    

                    <div class="form-group">
                      <label for="exampleTextarea">Mission<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="mission"><?php echo e($aa->mission); ?></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Mission in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="mission_nepali" placeholder="Enter Mission here.."><?php echo e($aa->mission_nepali); ?></textarea>
                    </div>

                    

                    <div class="form-group">
                      <label for="exampleTextarea">Vision<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="vision"><?php echo e($aa->vision); ?></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Vision in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="vision_nepali" placeholder="Enter vision here.."><?php echo e($aa->vision_nepali); ?></textarea>
                    </div>

                    

                    <div class="form-group">
                      <label for="exampleTextarea">Objective<i style="color: red">*</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="objective"><?php echo e($aa->objective); ?></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Objective in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="objective_nepali" placeholder="Enter Objective here.."><?php echo e($aa->objective_nepali); ?></textarea>
                    </div>

                   


                       <div class="form-group">
                      <label for="exampleTextarea">Saving<i style="color: red">* Max word 100</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="saving"><?php echo e($aa->saving); ?></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Saving in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="saving_nepali" placeholder="Enter Introduction here.."><?php echo e($aa->saving_nepali); ?></textarea>
                    </div>

                     <div class="form-group">
                      <label for="exampleTextarea">Loan<i style="color: red">* Max word 100</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="loan"><?php echo e($aa->loan); ?></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Loan in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="loan_nepali" placeholder="Enter Introduction here.."><?php echo e($aa->loan_nepali); ?></textarea>
                    </div>


                       <div class="form-group">
                      <label for="exampleTextarea">Remittance<i style="color: red">* Max word 100</i></label>
                      <textarea class="form-control ckeditor" id="exampleTextarea" rows="8" name="remittance"><?php echo e($aa->remittance); ?></textarea>
                    </div>

                    <div class="form-group">
                      <label for="exampleTextarea">Remittance in Nepali</label>
                      <a rel="nofollow" href="http://naya.com.np" title="Nepali Social Network" class="naya_convert" data-site="dark"></a>
                      <textarea class="form-control" id="exampleTextarea" rows="8" name="remittance_nepali" placeholder="Enter Introduction here.."><?php echo e($aa->remittance_nepali); ?></textarea>
                    </div>
                                   
                    
                    <?php endif; ?>
                    

                    <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>
      </div>
    </div>
  </div>
  <?php echo $__env->make('Admin.Parts.Js', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</body>
</html>