
<div id="element<?php echo$this->elementName; ?>">

<table class="tableElement">

	<tr>
	
		<td>Nazwa elementu</td>
		<td><input name="product_element_name[<?php echo$this->elementName; ?>]" maxlength="50" class="form-control form-control-small" /></td>
		
		<td>Kod</td>
		<td><input name="product_element_code[<?php echo$this->elementName; ?>]" maxlength="20" class="form-control form-control-small form-control-small-code" /></td>
		
		<td>Wys.</td>
		<td><input name="product_element_equation1[<?php echo$this->elementName; ?>]" maxlength="100" class="form-control form-control-small form-control-small-equation" /></td>
		
		<td>PCV</td>
		<td><input name="product_element_pcv1[<?php echo$this->elementName; ?>]" type="number" step="1" min="0" max="5" value="0" class="form-control form-control-small form-control-small-pvc" /></td>
		
		<td>Szer</td>
		<td><input name="product_element_equation2[<?php echo$this->elementName; ?>]" maxlength="100" class="form-control form-control-small form-control-small-equation" /></td>
		
		<td>PCV</td>
		<td><input name="product_element_pcv2[<?php echo$this->elementName; ?>]" type="number" step="1" min="0" max="5" value="0" class="form-control form-control-small form-control-small-pvc" /></td>
		
		<td>Płyta</td>
		<td>
		
			<?php
			
				$arrayElementPanel = array(
					1 => "Płyta Korpus",
					2 => "Płyta Front",
					3 => "Płyta Plecy",
					4 => "Płyta Inna"
				);
			
			?>
		
			<select name="product_element_panel[<?php echo$this->elementName; ?>]" class="form-control form-control-small">
				<?php foreach( $arrayElementPanel as $key => $val ){ ?>
				<option value="<?php echo$key; ?>"><?php echo$val; ?></option>
				<?php } ?>
			</select>
		</td>
		
		<td>Wart. licz.</td>
		<td><input name="product_element_quantity[<?php echo$this->elementName; ?>]" type="number" step="1" min="0" max="99" value="0" class="form-control form-control-small" /></td>
		
		<td>Wart. szuflady</td>
		<td>
		
			<?php
			
				$arrayElementDrawer = array(
					1 => "TAK",
					0 => "NIE"
				);
			
			?>
			
			<select name="product_element_drawer[<?php echo$this->elementName; ?>]" class="form-control form-control-small">
				<?php foreach( $arrayElementDrawer as $key => $val ){ ?>
				<option value="<?php echo$key; ?>"><?php echo$val; ?></option>
				<?php } ?>
			</select>
		</td>
		
		<td>Ile</td>
		<td><input name="product_element_drawerAmount[<?php echo$this->elementName; ?>]" type="number" step="1" min="0" max="99" value="0" class="form-control form-control-small" /></td>
		
		<td>Półka</td>
		<td>
		
			<?php
			
				$arrayElementDrawer = array(
					1 => "TAK",
					0 => "NIE"
				);
			
			?>
			
			<select name="product_element_shelf[<?php echo$this->elementName; ?>]" class="form-control form-control-small">
				<?php foreach( $arrayElementDrawer as $key => $val ){ ?>
				<option value="<?php echo$key; ?>"><?php echo$val; ?></option>
				<?php } ?>
			</select>
		</td>
		
		<td>
			<a href="javascript:void(0);" class="btn btn-xs btn-danger removeElement" cmd="<?php echo$this->elementName; ?>"><i class='fa fa-remove'></i></a>
		</td>
	
	</tr>

</table>

</div>

