 <div class="content-wrapper">
    <div class="container-fluid">
		
		<div class="row">
			<div class="col-lg-12">
			   <form action="#" method="post" method="post" enctype="multipart/form-data">
			   <input type="hidden" name="id" value="<?= @$id; ?>">
			   <div class="card">
			     <div class="card-body">
				   <div class="card-title"><?= $pagetitle; ?></div>
				   <?php echo ($this->session->flashdata('form_error'));?>
				   <?php echo ($this->session->flashdata('image_error'));?>
				   <hr>
				    <form>
					
                   <div class="form-group row">
					  <label for="input-21" class="col-sm-2 col-form-label">URL</label>
					  <div class="col-sm-10">
						<input type="text" class="form-control" name="slug" id="input-21" placeholder="" <?php if(@$slug !=''){echo "value='".@$slug."'";}?>>
					  </div>
					</div>
					
                    <div class="form-group row">
					  <label for="input-21" class="col-sm-2 col-form-label">Seo Title</label>
					  <div class="col-sm-10">
						<input type="text" class="form-control" name="seotitle" id="input-21" placeholder="Enter Title" <?php if(@$seotitle !=''){echo "value='".@$seotitle."'";}?>>
					  </div>
					</div>
					
					<div class="form-group row">
					  <label for="input-21" class="col-sm-2 col-form-label">Seo Description</label>
					  <div class="col-sm-10">
						<input type="text" class="form-control" name="seodescription" id="input-21" placeholder="Enter Description" <?php if(@$seodescription !=''){echo "value='".@$seodescription."'";}?>>
					  </div>
					</div>
					
					<div class="form-group row">
					  <label for="input-21" class="col-sm-2 col-form-label">Seo Keywords</label>
					  <div class="col-sm-10">
						<input type="text" class="form-control" name="seokeywords" id="input-21" placeholder="Enter Keywords comma Seprated" <?php if(@$seokeywords !=''){echo "value='".@$seokeywords."'";}?>>
					  </div>
					</div>
                    
					<div class="form-group row">
						<label for="input-23" class="col-sm-2 col-form-label">SEO Image</label>
						<div class="col-sm-10">
						<input name="seoimage" type="file" class="form-control" id="input-23" placeholder="Select Logo" >
						<input name="seoimageold" type="hidden" value="<?= @$image; ?>" >
						<?php if(@$seoimage){echo "<img src='".base_url('uploads/'.@$seoimage)."' width='150'>";}?>
						</div>
					  </div>					 
					 <div class="form-group row">
					  <label class="col-sm-2 col-form-label"></label>
					  <div class="col-sm-10">
						<button type="submit" name="submit" class="btn btn-primary px-5"><i class="icon-lock"></i> Update</button>
					  </div>
					</div>
					</form>
				 </div>
			 </div>
			</form>
		</div>
	</div><!--End Row-->