 <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 -->
   <?php
    $errors = $this->session->userdata('errors');
    if (isset($errors)) {
    ?>
     <script>
       swal("Oops", "<?php echo $errors ?>", "error")
     </script>
     <?php echo $errors ?>
   <?php
      $this->session->unset_userdata('errors');
    }
    $error = $this->session->userdata('error');
    if (isset($error)) {
    ?>
     <script>
       swal("Oops", "<?php echo $error ?>", "error")
     </script>
   <?php
      $this->session->unset_userdata('error');
    }
    $success = $this->session->userdata('success');
    if (isset($success)) {
    ?>
     <script>
       swal({
         title: "Done!",
         text: "<?php echo $success ?>",
         icon: "success",
       });
     </script>
   <?php
      $this->session->unset_userdata('success');
    }
    ?>
   <!-- Main content -->
   <section class="content">
     <div class="container-fluid">

       <!-- Info boxes -->
       <div class="row">
         <div class="col-sm-12">
           <div class="card card-default">
             <div class="card-header">
               <h3 class="card-title"><?php echo $title ?></h3>

               <div class="card-tools">
                 <a href="view_all_dba" class="btn btn-primary"><i class="fa fa-eye" aria-hidden="true"></i> View DBA</a>
               </div>
             </div>
             <!-- /.card-header -->
             <?php echo form_open('admin/dba_management/new_dba_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">DBA Name <span class="required">*</span></label>
                     <div class="col-sm-12">
                       <input class="form-control" name="name" placeholder="Enter DBA Name" required="required">
                     </div>
                   </div>
                 </div>

                 <div class="col-md-6">
                   <div class="form-group">
                     <label for="inputEmail" class="col-sm-12 col-form-label">DBA Mobile No. (This is Login ID) <span class="required">*</span></label>
                     <div class="col-sm-12">
                       <input class="form-control" name="mobile" placeholder="Enter DBA Mobile No" required="required" type="number">
                     </div>
                   </div>
                 </div>

                 <div class="col-md-6">
                   <div class="form-group">
                     <label for="inputEmail" class="col-sm-12 col-form-label">DBA Email ID (This is Login ID) <span class="required">*</span></label>
                     <div class="col-sm-12">
                       <input class="form-control" name="email" placeholder="Enter DBA Email ID" required="required" type="email">
                     </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>
   <!-- /.content -->
 </div>