<!-- Main Content -->

<div class="page-wrapper">

<div class="container-fluid pt-25">

   <div class="row">

      <div class="col-md-12">

         <div class="alert alert-success alert-dismissible" role="alert" <?php if($this->session->flashdata('message')==''){ ?> style="display:none" <?php } ?> >

            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>

            <?php echo $this->session->flashdata('message'); ?>

         </div>

      </div>

   </div>

   <!-- Row -->

   <div class="row">

      <div class="col-md-3 "></div>
      <div class="col-md-6 ">

         <div class="panel panel-default card-view">

            <div class="panel-heading">

               <div class="pull-left">

                  <h6 class="panel-title txt-dark">Edit Category </h6>

               </div>

               <div class="clearfix"></div>

            </div>

            <div class="panel-wrapper collapse in">

               <div class="panel-body">

                  <div class="table-wrap">

                     <form id="addGameForm" action="<?php echo base_url(A.'/editFaqCategory'); ?>" method="post" enctype="multipart/form-data">
                          <input type="hidden" name="id" value="<?php echo $cat['id']; ?>" />
                          <div class="modal-body">
                            <div class="form-group">
                              <label>Category</label>
                              <input type="text" name="category" class="form-control" placeholder="Enter Category Name"  value="<?php echo $cat['category']; ?>" />
                            </div>      
                            <!-- <div class="form-group">
                              <label>Image</label>
                              <input type="file" name="image" class="form-control"/>
                              <p>image size 1606x433 px</p>
                              <?php //if($cat['image']!=''){ ?>
                                <img src="<?php //echo base_url($cat['image']); ?>" style="width:200px" alt="img">
                              <?php //} ?>
                            </div> -->
                          </div>
                          <div class="modal-footer">
                            <button type="submit" class="btn btn-primary">Update</button>
                          </div>

                      </form>

                  </div>

               </div>

            </div>

         </div>

      </div>

   </div>

   <!-- /Row -->

</div>
<style type="text/css">
	.select2-selection{height:auto !important;min-height:42px !important;}
</style>