<style type="text/css">
.mt{
    margin-top: 10px;
}
.mr4{
     margin-right: 4px;
}

</style>
<main id="js-page-content" role="main" class="page-content">


    <ol class="breadcrumb page-breadcrumb">
        <li class="breadcrumb-item"><a href="javascript:void(0);">IC Portal</a></li>
        <li class="breadcrumb-item">Lovs</li>
        <li class="breadcrumb-item">Edit Lovs</li>
      
        <li class="position-absolute pos-top pos-right d-none d-sm-block"><span class="js-get-date"></span></li>
    </ol>
    
    <div class="row">
    <div class="col-xs-12 col-sm-7 col-md-7 col-lg-4">
      <h1> <span class="page-title txt-color-blueDark">Edit Lovs</span></h1>
    </div>
    
  </div>
  <div class="row mt">
        <div class="col-xl-12">
            <div id="panel-1" class="panel">
                <div class="panel-container show">
                    <div class="panel-content">
                        <form class="needs-validation" method="post" action="/Bed/UpadteLovs" id='editlovsform' name='editlovsform' >
                            <input type="hidden" name="id" value="<?php echo $lovs[0]['lov_id'] ?>">
                             <div class="form-row">
                  <div class="col-md-6 mb-3">
                      <label class="form-label">Lovs Name<span class="text-danger">*</span></label>
                      <input class="form-control" placeholder="Enter Lovs Name" type="text" id='lovs_name' name='lovs_name' value="<?php echo $lovs[0]['lov_name'] ?>" required="">
                      
                      <div class="invalid-feedback">
                          Please Enter the Lovs Name.
                      </div>
                  </div>
                  <div class="col-md-6 mb-3">
                      <label class="form-label">Lovs Type<span class="text-danger">*</span></label>
                      <!-- <input class="form-control" placeholder="Enter Lovs Type" type="text" id='lovs_type' name='lovs_type' value="<?php echo $lovs[0]['lov_type'] ?>" required=""> -->
                      <select class="custom-select"  name="lovs_type" id="lovs_type">
                        <option value="">Select Type</option>
                        <option <?php echo ($lovs[0]['lov_name'] == 'antibiotic' ? 'selected' : '')?> value="antibiotic1">Antibiotic Class 1</option>
                        <option <?php echo ($lovs[0]['lov_name'] == 'antibiotic' ? 'selected' : '')?> value="antibiotic2">Antibiotic Class 2</option>
                        <option <?php echo ($lovs[0]['lov_name'] == 'antibiotic' ? 'selected' : '')?> value="antibiotic3">Antibiotic Class 3</option>
                        <option <?php echo ($lovs[0]['lov_name'] == 'antibiotic' ? 'selected' : '')?> value="antibiotic4">Antibiotic Class 4</option>
                        <option <?php echo ($lovs[0]['lov_name'] == 'antibiotic' ? 'selected' : '')?> value="antibiotic5">Antibiotic Class 5</option>
                        <option <?php echo ($lovs[0]['lov_name'] == 'antibiotic' ? 'selected' : '')?> value="antibiotic6">Antibiotic Class 6</option>
                        <option <?php echo ($lovs[0]['lov_name'] == 'antibiotic' ? 'selected' : '')?> value="antibiotic7">Antibiotic Class 7</option>
                        <option <?php echo ($lovs[0]['lov_name'] == 'mdr' ? 'selected' : '')?> value="mdr">MDR</option>
                        <option <?php echo ($lovs[0]['lov_name'] == 'organism' ? 'selected' : '')?> value="organism">Organism</option>
                      
                      </select>
                      <div class="invalid-feedback">
                          Please Enter the Lovs Type.
                      </div>
                      
                  </div>
              </div>
              
              <div class="row">
              <div class="col-md-6">
              </div>
              <div class="demo col-md-6 pull-right">
                <a href="/Bed/Lovs"  class="btn btn-primary btn-md float-right" type="button" ><i class="fas fa-times-circle mr4" ></i>Cancel</a>

                <button  id="js-add-btn" class="btn btn-primary btn-md float-right" type="submit" ><i class="fas fa-user-edit mr4"></i>Upadte</button>
              </div>
            </div> 
          </form>
      </div>
  </div>
</div>
</div>
</div>

</main>
<!-- this overlay is activated only when mobile menu is triggered -->
<div class="page-content-overlay" data-action="toggle" data-class="mobile-nav-on"></div> <!-- END Page Content -->












                   
