<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"><?php echo $title ?></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="#"><?php echo ucwords(str_replace("_", " ", $this->uri->segment(2))); ?></a></li>
              <li class="breadcrumb-item active"><?php echo ucwords(str_replace("_", " ", $title)); ?></li>

            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->
    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <!-- Info boxes -->
        <div class="card card-default">
          <div class="card-header">
            <h3 class="card-title">Update <?php echo $title ?></h3>

            <div class="card-tools">
              <button type="button" class="btn btn-tool" data-card-widget="collapse"><i class="fas fa-minus"></i></button>
            </div>
          </div>
          <?php 
            $user_id = user()->user_id;
               $gst = user()->user_gst;
               ?>
          <!-- /.card-header -->
          <?php echo form_open('admin/setting/update_gst_setting/'.$user_id); ?>
          <div class="card-body">
            <div class="row">
               
               <div class="col-md-6">
                  <div class="form-group">
                     <label class="text-dark" for="blue_bg">Enter GST Percantage (%)</label>
                     <input name="user_gst" class="form-control" type="number" value="<?php echo $gst; ?>"/>
                  </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>
            </div>
            <?php echo form_close() ?>
          </div>
        </div>
      </div>
    </section>
  </div>