 <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0 text-dark">Add Testimonial</h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="<?php echo base_url() ?>admin/admin/dashboard">Dashboard</a></li>
              <li class="breadcrumb-item"><a href="#">Home Setting</a></li>
              <li class="breadcrumb-item active">Add Testimonial</li>

            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="row">
          <div class="col-sm-12">
            <div class="card card-default">
              <div class="card-header">
                <h3 class="card-title">Update Testimonial</h3>

                <div class="card-tools">
                  <a href="<?php echo base_url()?>/admin/home_setting/all_testimonials" class="btn btn-primary btn-sm"><i class="fa fa-eye" aria-hidden="true"></i> View Testimonials</a>
                </div>
              </div>
              <!-- /.card-header -->
              <?php echo form_open_multipart('admin/home_setting/update_testimonials_add/'.$testimonials->testi_id); ?>
              <div class="card-body">
                <div class="row">

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Customer Name <span class="required">*</span></label>
                       <div class="col-sm-12">
                          <input class="form-control"  name="testi_name" placeholder="Enter Customer Name" required value="<?php echo $testimonials->testi_name ?>">
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Description <span class="required">*</span></label>
                       <div class="col-sm-12">
                          <textarea class="form-control"  name="testi_des" placeholder="Enter Description" required><?php echo $testimonials->testi_des ?></textarea>
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Extra Description </label>
                       <div class="col-sm-12">
                          <input class="form-control"  name="testi_extra" placeholder="Enter Extra Description" value="<?php echo $testimonials->testi_extra ?>">
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Customer Image <span class="required">*</span> </label>
                       <div class="col-sm-12">
                          <input type="file" class="form-control"  name="testi_image">
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Preview Customer Image </label>
                       <div class="col-sm-12">
                          <img src="<?php echo base_url() ?><?php echo $testimonials->testi_image ?>" width="50px">
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12">
                    <div class="form-group">
                       <button name="submit" style="float: right" type="submit" class="btn btn-success">Update</button>
                    </div>
                  </div>

                   <?php echo form_close() ?>
                   

                  <!-- /.col -->
                </div>
                <!-- /.row -->
              </div>
              <!-- /.card-body -->
            </div>
          </div>
        </div>
            <!-- /.row -->
      </div><!--/. container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->