 <div class="content-wrapper">
    <!-- Case 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">Add New Case</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="#">Main Page Setting</a></li>
              <li class="breadcrumb-item active">Add New Case</li>

            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.Case-header -->
    <!-- Main Case -->
    <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">Add New Case</h3>

                <div class="card-tools">
                  <a href="<?php echo base_url()?>/admin/main_page_setting/latest_case" class="btn btn-primary btn-sm"><i class="fa fa-eye" aria-hidden="true"></i> View All Case</a>
                </div>
              </div>
              <!-- /.card-header -->
              <?php echo form_open_multipart('admin/main_page_setting/new_case_add'); ?>
              <div class="card-body">
                <div class="row">

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Case Heading <span class="required">*</span></label>
                       <div class="col-sm-12">
                          <input class="form-control"  name="latest_case_title" placeholder="Enter Case Heading" required>
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Case Short Description <span class="required">*</span></label>
                       <div class="col-sm-12">
                          <textarea class="form-control"  name="latest_case_short_description" placeholder="Enter Case Description" required></textarea>
                       </div>
                    </div>
                  </div>
                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Case Description </label>
                       <div class="col-sm-12">
                          <textarea class="text-editor"  name="latest_case_description" placeholder="Enter Case Description" ></textarea>
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Case Image <span class="required">*</span></label>
                       <div class="col-sm-12">
                          <input type="file" class="form-control"  name="latest_case_image" required>
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12">
                    <div class="form-group">
                       <button name="submit" style="float: right" type="submit" class="btn btn-success">Add</button>
                    </div>
                  </div>

                   <?php echo form_close() ?>
                   

                  <!-- /.col -->
                </div>
                <!-- /.row -->
              </div>
              <!-- /.card-body -->
            </div>
          </div>
        </div>
            <!-- /.row -->
      </div><!--/. container-fluid -->
    </section>
    <!-- /.Case -->
  </div>
  <!-- /.Case-wrapper -->