<?= $this->extend('layout') ?>
<?= $this->section('content') ?>

<div class ="flex2">
	<div class ="content">
	<div class="d-flex justify-content-center">


		     <?= form_open('doEditBlog'); ?>
			<?= csrf_field() ?>

			    <div class="form-group"> 
			    <label for="title">Blog Title</label>
			    <input type="input" name="title" id ="title" class="form-control" value="<?php echo htmlspecialchars($blog['title']); ?>"/><br />
			    </div>
    
    
                             <div class="form-group"> 
			    <label for="title">Id </label>
			    <input type="input" name="Id" id ="title" class="form-control" value="<?php echo $blog['Id']; ?>"/><br />
			    </div>
    
                           
    
			    <div class="form-group"> 
			    <label for="theArticle">Blog Article </label> 
			    <textarea class="form-control" id ="thArticle" rows="7" cols ="45" name ="article" required ="true"  ><?php echo htmlspecialchars($blog['article']); ?></textarea>
			   </div>
	   
			   
	    
			    <div class="form-group"> 
			   <input type="submit" class ="btn-success" value="submit" />
			   </div>
                     			   
			  
			    <div class="form-group"> 
				allowed formating tags  are :   &#60;p&#62;	   &#60;&#47;p&#62;	<br>
				&#60;h8&#62;	   &#60;&#47;h8&#62;  <h8>h8</h8>	<br>
				&#60;h9&#62;	   &#60;&#47;h9&#62; <h9>h9</h9>	<br>
				&#60;h10&#62;	   &#60;&#47;h10&#62;<h10>h10</h10>	<br>
				&#60;h11&#62;	   &#60;&#47;h11&#62;<h11>h11</h11>	<br>
				&#60;h12&#62;	   &#60;&#47;h12&#62;<h12>h12</h12>	<br>
				&#60;h1&#62;	   &#60;&#47;h1&#62;	<br>
				&#60;b&#62;	   &#60;&#47;b&#62;	<br>
				
					
					
			 </div>
			   
		   <?php echo form_close();?>

	</div>
	
	
	</div>
	
</div>
<?= $this->endSection() ?>
