<div style="border-bottom:1px solid #999999;width:100%">Dodawanie pracownika</div>

<form action="/master/add_employee" method="post">
	<table>
		<tr>
			<td width="200">Imię</td>
			<td>
				<input type="text" name="imie" value="<?php if(!empty($form_data['imie'])) echo $form_data['imie'];?>"/>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><span style="color:red;font-size:10px;"><?php if(!empty($errors['imie'])) echo $errors['imie'];?></span></td>
		</tr>	
		<tr>
			<td>Email</td>
			<td>
				<input type="text" name="email" value="<?php if(!empty($form_data['email'])) echo $form_data['email'];?>"/>
			</td>
		</tr>		
		<tr>
			<td></td>
			<td><span style="color:red;font-size:10px;"><?php if(!empty($errors['email'])) echo $errors['email'];?></span></td>				
		</tr>	
		<tr>
			<td>Hasło</td>
			<td><input type="password" name="haslo" value="<?php if(!empty($form_data['haslo'])) echo $form_data['haslo'];?>"/></td>
			
		</tr>		
		<tr>
			<td></td>
			<td><span style="color:red;font-size:10px;"><?php if(!empty($errors['haslo'])) echo $errors['haslo'];?></span></td>
		</tr>
		<tr>
			<td>Potwierdź Hasło</td>
			<td><input type="password" name="haslo2" value="<?php if(!empty($form_data['haslo2'])) echo $form_data['haslo2'];?>"/></td>
		</tr>
		<tr>
			<td></td>
			<td><span style="color:red;font-size:10px;"><?php if(!empty($errors['haslo2'])) echo $errors['haslo2'];?></span></td>
		</tr>		
		<tr>
			<td colspan="2" align="left">
				<input type="submit" value="DODAJ"/>
			</td>
		</tr>
	</table>
</form>