<div class="kt-content  kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content">
  
            <!-- begin:: Content Head -->
            <div class="kt-subheader  kt-grid__item" id="kt_subheader">
              <div class="kt-container  kt-container--fluid ">
                <div class="kt-subheader__main">
                  <h3 class="kt-subheader__title"><a href="<?php echo base_url() ?>Dashboard/"><?php echo $this->lang->line('dashboard'); ?></a></h3>
                  <span class="kt-subheader__separator kt-subheader__separator--v"></span>
                  <span class="kt-subheader__desc"><a href="<?=base_url('expense/category_list')?>"><?php echo $this->lang->line('category') ?></a></span>
                </div>
              </div>
            </div>
    <!-- Content Header (Page header) -->
  <div class="row">
    <div class="col-md-12">
      <div class="box box-primary" style="padding: 20px">
        <div class="box-header with-border">
          <h3 class="box-title"><?php echo $this->lang->line('expense');  echo ' '; echo $this->lang->line('category'); ?></h3>
        </div>
         <?php if(isset($msg) || validation_errors() !== ''): ?>
        <div class="alert alert-warning alert-dismissible">
            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
            <h4><i class="icon fa-warning"></i> Alert!</h4>
            <?= validation_errors();?>
            <?= isset($msg)? $msg: ''; ?>
        </div>
        <?php endif; ?>  
        <form action="" method="post">
          <div class="box-body">
            <div class="form-group">
              <input type="hidden" class="form-control"  placeholder="" name="id" value="<?php echo $result->id; ?>" required>
              <br><div class="form-group">
              <label><?php echo $this->lang->line('category'); ?> <?php echo $this->lang->line('name'); ?></label>
              <input type="text" class="form-control"  placeholder="" name="category_name" value="<?php echo $result->category_name; ?>" required>
            </div>
            </div>
           </div>
          <div class="box-footer">
            <button type="submit" class="btn btn-primary" name="submit" value="pl"><?php echo $this->lang->line('addition') ?></button>
          </div>
        </form>
      </div>
    </div>
  </div>
