 <div class="content-wrapper">
    <!-- Event 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">Edit Legal Document</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">Edit Legal Document</li>

            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.Event-header -->
    <!-- Main Event -->
    <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">Edit Legal Document</h3>

                <div class="card-tools">
                  <a href="<?php echo base_url()?>/admin/main_page_setting/short_about_us" class="btn btn-primary btn-sm"><i class="fa fa-eye" aria-hidden="true"></i> View All Legal Document</a>
                </div>
              </div>
              <!-- /.card-header -->
              <?php echo form_open_multipart('admin/main_page_setting/update_legal_document/'.$legal->about_id); ?>
              <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">Legal Document Name <span class="required">*</span></label>
                       <div class="col-sm-12">
                          <input class="form-control"  name="about_content" placeholder="Enter Member Name" required value="<?php echo $legal->about_content ?>">
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Legal Document Image </label>
                       <div class="col-sm-12">
                          <input type="file" class="form-control"  name="about_image" >
                       </div>
                    </div>
                  </div>

                  <div class="col-md-12">
                    <div class="form-group">
                       <label for="inputEmail" class="col-sm-12 col-form-label">Legal Document Image Preview</label>
                       <div class="col-sm-12">
                          <img src="<?php echo base_url(); ?><?php echo $legal->about_image; ?>">
                       </div>
                    </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>

                   <?php echo form_close() ?>
                   

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