<?php
$this->load->view('admin/templates/header.php');
?>
<div id="content">
		<div class="grid_container">
			<div class="grid_12">
				<div class="widget_wrap">
					<div class="widget_top">
						<span class="h_icon list"></span>
						<h6>View Attribute</h6>
					</div>
					<div class="widget_content">
					<?php 
						$attributes = array('class' => 'form_container left_label');
						echo form_open('admin',$attributes) 
					?>
				
	 						<ul>
	 							
	 							
								<li>
								<div class="form_grid_12">
									<label class="field_title">Attribute Name :</label>
									<div class="form_input">
										<?php echo $attribute_details->row()->attr_name;?>
									</div>
								</div>
								</li>
                                
                                
                                <li>
								<div class="form_grid_12">
									<label class="field_title">Attribute Options :</label>
									<div class="form_input">
										<?php $attrOptions=explode(',',$attribute_details->row()->attr_options); for($i=0; $i < count($attrOptions); $i++) {?>
                                        &nbsp; <?php echo ucfirst($attrOptions[$i]);  }?>
									</div>
								</div>
								</li>

								
								<li>
								<div class="form_grid_12">
									<label class="field_title">Status :</label>
									<div class="form_input">
										<?php echo $attribute_details->row()->status;?>
									</div>
								</div>
								</li>
	 							
								
								<li>
								<div class="form_grid_12">
									<div class="form_input">
										<a href="admin/productattribute/display_product_attribute_list" class="tipLeft" title="Go to lists"><span class="badge_style b_done">Back</span></a>
									</div>
								</div>
								</li>
								</ul>
							
							
							
				</div>
			</div>
		</div>
		<span class="clear"></span>
	</div>
</div>
<?php 
$this->load->view('admin/templates/footer.php');
?>