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


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


		     <?= form_open_multipart('newPortfolio'); ?>
				<?= csrf_field() ?>
			    <div class="form-group"> 
			    <label for="title">Image  Title (a few words to describe it) </label>
			    <input type="input" name="title" id ="title" class="form-control"/><br />
			    </div>
    
            <div class="form-group"> 
				 <select id="category" name="category">
  <option value="Art">Art</option>
  <option value="Ladies">Ladies</option>
  <option value="Mens">Mens</option>
  <option value="Boys">Boys</option>
<option value="Girls">Girls</option>
  <option value="Baby">Baby</option>
  <option value="Accessory">Accessories</option>




</select> 
				
				</div>
			  
	   
			   
	    
	           <div class="form-group"> 
			 <label for="theirMessage">Product Details </label> 
			 <textarea class="form-control" id ="prodInfo" rows="3" cols ="24" name ="info" required ="true"  ></textarea>
			  </div>
			 
	    
	    
	    
	    <div class="form-group"> 
			    <label for="image">Use browse button below to navigate to image</label>
			    <br><br>
			    <input type="file" name="userfile" size="20" id="userfile"/>
			    </div>
	    
	    
	    
			    <div class="form-group"> 
			   <input type="submit" class ="btn-success" value="submit" />
			   </div>
                           
			   
			   <div class="form-group"> 
			 <h1 style ="color:red";>  <?php echo $info ;?></h1>
			   </div>
			   
			   
			   
		   <?php echo form_close();?>

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