<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">
           <?php if ($this->session->flashdata('success')) { ?>
         <div class="alert alert-success">
            <a href="<?= base_url('admin/process'); ?>" class="close" data-dismiss="alert" aria-label="close">×</a>
            <strong><?php echo $this->session->flashdata('success'); ?></strong>
         </div>
         <?php } ?>
         <?php if ($this->session->flashdata('error')) { ?>
         <div class="alert alert-danger">
            <a href="<?= base_url('admin/process'); ?>" class="close" data-dismiss="alert" aria-label="close">×</a>
            <strong><?php echo $this->session->flashdata('error'); ?></strong>
         </div>
         <?php } ?>
         <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 Process</h4>
                  </div>
                  <form class="form" action="<?= base_url('admin/process-update'); ?>" method="post" 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="id" value="<?= $processE->id; ?>" required>
                                 <input type="text" class="form-control" name="title" value="<?= $processE->title; ?>"  required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Sub Title</label>
                                 <input type="text" class="form-control" name="project" value="<?= $processE->project; ?>" required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Title 1</label>
                                 <input type="text" class="form-control" name="title1" value="<?= $processE->title1; ?>" required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Description 1</label>
                                 <input type="text" class="form-control" name="desc1" value="<?= $processE->desc1; ?>" required>
                              </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="title2" value="<?= $processE->title2; ?>" required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Description 2</label>
                                 <input type="text" class="form-control" name="desc2" value="<?= $processE->desc2; ?>" required>
                              </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="title3" value="<?= $processE->title3; ?>" required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Description 3</label>
                                 <input type="text" class="form-control" name="desc3" value="<?= $processE->desc3; ?>" required>
                              </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="title4" value="<?= $processE->title4; ?>" required>
                              </div>
                           </div>
                           <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Description 4</label>
                                 <input type="text" class="form-control" name="desc4" value="<?= $processE->desc4; ?>" required>
                              </div>
                           </div>
                            <div class="col-md-12">
                              <div class="form-group">
                                 <label class="form-label">Caption</label>
                                 <input type="text" class="form-control" name="caption" value="<?= $processE->caption; ?>" required>
                              </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>

