<div style="border-bottom:1px solid #999999;width:100%">Zmiana hasła mastera</div>

<form action="/master/change_master_pass" method="post">
	<table>
		<!-- obecne haslo -->
		<tr>
			<td>Obecne 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>
		<!-- nowe haslo -->
		<tr>
			<td>Nowe hasło</td>
			<td><input type="password" name="nowe_haslo" value="<?php if(!empty($form_data['nowe_haslo'])) echo $form_data['nowe_haslo'];?>"/></td>
			
		</tr>		
		<tr>
			<td></td>
			<td><span style="color:red;font-size:10px;"><?php if(!empty($errors['nowe_haslo'])) echo $errors['nowe_haslo'];?></span></td>
		</tr>
		<!-- potwierdzenie hasla -->
		<tr>
			<td>Potwierdź nowe hasło</td>
			<td><input type="password" name="nowe_haslo2" value="<?php if(!empty($form_data['nowe_haslo2'])) echo $form_data['nowe_haslo2'];?>"/></td>
			
		</tr>		
		<tr>
			<td></td>
			<td><span style="color:red;font-size:10px;"><?php if(!empty($errors['nowe_haslo2'])) echo $errors['nowe_haslo2'];?></span></td>
		</tr>
		
		<tr>
			<td colspan="2" align="left">
				<input type="submit" value="DODAJ"/>
			</td>
		</tr>		
	</table>
</form>		