 <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">Edit Slider</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="#">Front Setting</a></li>
              <li class="breadcrumb-item active">Edit Slider</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">Edit Slider</h3>
              </div>
              <!-- /.card-header -->
               <?php echo form_open_multipart(base_url().'admin/front_setting/update_slider/'.$slider->slider_id);?>
              <div class="card-body">
                <div class="row">

                  <div class="col-md-6">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12">Slider Heading <span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="slider_heading" placeholder="Enter Slider Heading" value="<?php echo $slider->slider_heading ?>" required>
                        </div>
                     </div>
                  </div>

                  <div class="col-md-6">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12">Slider Sub-Heading <span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="slider_sub_heading" placeholder="Enter Slider Sub-Heading" value="<?php echo $slider->slider_sub_heading ?>" required>
                        </div>
                     </div>
                  </div>
                  <div class="col-md-6">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12">Shape Heading</label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="block_1_heading" placeholder="Enter Block 1 Heading" value="<?php echo $slider->block_1_heading ?>">
                        </div>
                     </div>
                  </div>
                  <div class="col-md-6">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12">Shape Sub-Heading</label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="block_1_sub_heading" placeholder="Enter Block 1 Sub-Heading" value="<?php echo $slider->block_1_sub_heading ?>">
                        </div>
                     </div>
                  </div>
                  
                  <div class="col-md-6">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12">Shape Image</label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="file" class="form-control"  name="shape_1_image" placeholder="Enter Slider Sub-Heading">
                        </div>
                     </div>
                  </div>
                  <div class="col-md-6">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12">Slider Main Image</label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="file" class="form-control"  name="slider_image" placeholder="Enter Slider Sub-Heading">
                        </div>
                     </div>
                  </div>

                  <div class="col-md-6">
                     <div class="item form-group">
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <img src="<?php echo base_url(); ?><?php echo $slider->shape_1_image; ?>" width="50px">
                        </div>
                     </div>
                  </div>

                  <div class="col-md-6">
                     <div class="item form-group">
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <img src="<?php echo base_url(); ?><?php echo $slider->slider_image; ?>" width="50px">
                        </div>
                     </div>
                  </div>
                  

                  <div class="col-md-12">
                    <div class="form-group">
                       <button name="form1" style="float: right" type="submit" class="btn btn-success">Update</button>
                    </div>
                  </div>
                  <?php echo form_close() ?>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
  </div>
