<div class="content_title">Zmiana hasła</div>
<?php if(!empty($info))
	echo '<p class="info_box">'.$info.'</p>';
?>
<form action="/master/change_master_pass" method="post">
	<table width="100%">
		<!-- obecne haslo -->
		<tr>
			<td width="200">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 class="error_info"><?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 class="error_info"><?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 class="error_info"><?php if(!empty($errors['nowe_haslo2'])) echo $errors['nowe_haslo2'];?></span></td>
		</tr>
		<tr>
			<td colspan="2" align="left">
                <div class="formHr">&nbsp;</div>
                <input type="submit" value="Zatwierdź" class="formButton"/>
                <input type="button" name="anuluj" value="Anuluj" class="formButton" onClick="document.location.href='<?php echo base_url();?>master';"/>				
				<span class="field_required">* - pole wymagane</span>
			</td>
		</tr>		
	</table>
</form>		