<div class="row page-titles">
  <div class="col-md-5 align-self-center">
  </div>
  <div class="col-md-7 align-self-center text-right">
    <div class="d-flex justify-content-end align-items-center">
      <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="<?php echo base_url();?>admin/dashboard">Home</a></li>
        <li class="breadcrumb-item active">UPDATE SEO</li>';
      </ol>
    </div>
  </div>
</div>
<div class="row">
  <div class="col-lg-12">
    <div class="card">
      <?php if($seo == "No Data"){ ?>
      <div class="card-body">
        <h3 class="card-title">No Records Found. </h3>
        <!-- <p class="card-text">With supporting text below as a natural lead-in to additional content.</p> -->
        <a href="<?php echo base_url(); ?>seo/list" class="btn btn-danger">BACK TO LIST</a>
      </div>
      <?php }else{ ?>
        <div class="card-header form-card-header">
          <h4 class="m-b-0 text-light">UPDATE SEO</h4></div>
        <div class="card-body">
        <form id="update_seo" class="form-material">
          <div class="form-body">
            <div class="row">
              <div class="col-md-12">
                <div class="form-group">
                  <label class="control-label"><strong>PAGE</strong></label>
                  <input type="text" id="page" name="page" value="<?php echo $seo[0]->page; ?>" class="form-control"  autocomplete="off" maxlength="100" readonly>
                </div>
              </div>
            </div>
          </div>
          
          <div class="form-body">
            <div class="row">
              <div class="col-md-12">
                <div class="form-group">
                  <label class="control-label"><strong>TITLE</strong></label>
                  <textarea name="title" id="title" rows="3" class="form-control"  autocomplete="off" maxlength="255" style="text-transform:none;"><?php echo $seo[0]->title; ?></textarea>
                  <label for="title" class="error"></label> 
                </div>
              </div>
            </div>
          </div>

          <div class="form-body">
            <div class="row">
              <div class="col-md-12">
                <div class="form-group">
                  <label class="control-label"><strong>DESCRIPTION</strong></label>
                  <textarea name="description" id="description" rows="3" class="form-control"  autocomplete="off" maxlength="255" style="text-transform:none;"><?php echo $seo[0]->description; ?></textarea>
                  <label for="description" class="error"></label> 
                </div>
              </div>
            </div>
          </div>

          <div class="form-body">
            <div class="row">
              <div class="col-md-12">
                <div class="form-group">
                  <label class="control-label"><strong>KEYWORDS</strong></label>
                  <textarea name="keywords" id="keywords" rows="3" class="form-control"  autocomplete="off" maxlength="100" style="text-transform:none;"><?php echo $seo[0]->keywords; ?></textarea>
                  <label for="keywords" class="error"></label> 
                </div>
              </div>
            </div>
          </div>

          <input type="hidden" name="id" id="id" value="<?php echo $seo[0]->id; ?>">

          <div class="form-actions">
            <button type="submit" class="btn btn-info col-md-3">SAVE</button>  
            <button type="button" class="btn btn-primary col-md-3" onclick="window.location.href='<?php echo base_url(); ?>seo/list'">CANCEL</button>  
          </div>
        </form>
      </div>
      <?php } ?>
    </div>
  </div>
</div>