<div class="content-wrapper">
   <div class="container-full">
      <!-- Content Header (Page header) -->	  
      <div class="content-header">
         <div class="d-flex align-items-center">
            <div class="me-auto">
               <h4 class="page-title">Genral Management</h4>
               <div class="d-inline-block align-items-center">
                  <nav>
                     <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="#"><i class="fa fa-home"></i></a></li>
                        <li class="breadcrumb-item active" aria-current="page">Home</li>
                     </ol>
                  </nav>
               </div>
            </div>
         </div>
      </div>
      <!-- Main content -->
      <section class="content">
         <div class="row">
            <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
               <div class="box">
                  <!-- /.box-header -->
                  <div class="box-header with-border">
                     <h4 class="box-title">Update Why Choose</h4>
                  </div>
                  <form class="form" id="whychooseupdate" enctype="multipart/form-data">
                     <div class="box-body">
                        <div class="row">
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Title</label>
                                 <input type="hidden" class="form-control" name="whychoose_id" value="<?= $whychooseE->whychoose_id; ?>" required>
                                 <input type="text" class="form-control" name="whychoose_title" value="<?= $whychooseE->whychoose_title; ?>"  required>
                              </div>
                           </div>
                            <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Title1</label>
                                 <input type="text" class="form-control" name="whychoose_point1" value="<?= $whychooseE->whychoose_point1; ?>"  required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Description 1<span class="reqired-star">*</span></label>
                                 <textarea class="form-control" placeholder="Description ..." rows="3"  name="whychoose_description1" ><?= $whychooseE->whychoose_description1; ?></textarea>
                                 
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Title 2</label>
                                 <input type="text" class="form-control" name="whychoose_point2" value="<?= $whychooseE->whychoose_point2; ?>"  required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Description 2<span class="reqired-star">*</span></label>
                                 <textarea class="form-control" placeholder="Description ..." rows="3"  name="whychoose_description2" ><?= $whychooseE->whychoose_description2; ?></textarea>
                                 
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Title 3</label>
                                 <input type="text" class="form-control" name="whychoose_point3" value="<?= $whychooseE->whychoose_point3; ?>"  required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Description 3<span class="reqired-star">*</span></label>
                                 <textarea class="form-control" placeholder="Description ..." rows="3"  name="whychoose_description3" ><?= $whychooseE->whychoose_description3; ?></textarea>
                                 
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Title 4</label>
                                 <input type="text" class="form-control" name="whychoose_point4" value="<?= $whychooseE->whychoose_point4; ?>"  required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Description 4<span class="reqired-star">*</span></label>
                                 <textarea class="form-control" placeholder="Description ..." rows="3"  name="whychoose_description4" ><?= $whychooseE->whychoose_description4; ?></textarea>
                                 
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Image</label>
                                 <input type="file" id="file" name="whychoose_image">
                                 <img class="rounded-circle" width="60" height="60" src="<?= base_url(); ?>uploads/whychoose/<?= $whychooseE->whychoose_image; ?>">
                              </div>
                           </div>
                        
                     </div>
                     </div>
                     <!-- /.box-body -->
                     <div class="box-footer">
                        <button type="submit" class="btn btn-primary">Update</button>
                     </div>
                  </form>
                  
               </div>
               <!-- /.box -->			
            </div>
           
         </div>
      </section>
      <!-- /.content -->
   </div>
</div>

