
 <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">Slider Block</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="#">Frontend Setting</a></li>
              <li class="breadcrumb-item active">Slider Block</li>

            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
     <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 Block Details</h3>
              </div>
              <!-- /.card-header -->
               <?php echo form_open(base_url().'admin/front_setting/update_slider_block');?>
              <div class="card-body">
                <div class="row">

                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Icon 1<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                          <select class="form-control font-awsom" name="block_1_icon"  required="required">
                            <option value="">Select Icon</option>
                             <?php $this->load->view('admin/include/fafa_icon_select', ['icon' => $slider->block_1_icon]) ?>
                          </select>
                        </div>
                     </div>
                  </div>
                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Heading 1<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="block_1_heading" placeholder="Enter Heading" required value="<?php echo $slider->block_1_heading; ?>">
                        </div>
                     </div>
                  </div>
                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Sub Heading 1<span>*</span></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 Heading" required value="<?php echo $slider->block_1_sub_heading; ?>">
                        </div>
                     </div>
                  </div>

                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Icon 2<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <select class="form-control font-awsom" name="block_2_icon"  required="required">
                            <option value="">Select Icon</option>
                             <?php $this->load->view('admin/include/fafa_icon_select', ['icon' => $slider->block_2_icon]) ?>
                          </select>
                        </div>
                     </div>
                  </div>
                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Heading 2<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="block_2_heading" placeholder="Enter Heading" required value="<?php echo $slider->block_2_heading; ?>">
                        </div>
                     </div>
                  </div>
                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Sub Heading 2<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="block_2_sub_heading" placeholder="Enter Heading" required value="<?php echo $slider->block_2_sub_heading; ?>">
                        </div>
                     </div>
                  </div>

                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Icon 3<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <select class="form-control font-awsom" name="block_3_icon"  required="required">
                            <option value="">Select Icon</option>
                             <?php $this->load->view('admin/include/fafa_icon_select', ['icon' => $slider->block_3_icon]) ?>
                          </select>
                        </div>
                     </div>
                  </div>
                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Heading 3<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="block_3_heading" placeholder="Enter Heading" required value="<?php echo $slider->block_3_heading; ?>">
                        </div>
                     </div>
                  </div>
                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Sub Heading 3<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="block_3_sub_heading" placeholder="Enter Heading" required value="<?php echo $slider->block_3_sub_heading; ?>">
                        </div>
                     </div>
                  </div>

                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Icon 1<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <select class="form-control font-awsom" name="block_4_icon"  required="required">
                            <option value="">Select Icon</option>
                             <?php $this->load->view('admin/include/fafa_icon_select', ['icon' => $slider->block_4_icon]) ?>
                          </select>
                        </div>
                     </div>
                  </div>
                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Heading 4<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="block_4_heading" placeholder="Enter Heading" required value="<?php echo $slider->block_4_heading; ?>">
                        </div>
                     </div>
                  </div>
                  <div class="col-md-4">
                     <div class="item form-group">
                        <label class="col-md-12 col-sm-12 col-xs-12"> Sub Heading 4<span>*</span></label>
                        <div class="col-md-12 col-sm-12 col-xs-12">
                           <input type="text" class="form-control"  name="block_4_sub_heading" placeholder="Enter Heading" required value="<?php echo $slider->block_4_sub_heading; ?>">
                        </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>
