echo getErrorClass($errors, 'password');
?>
">
				<div>
					<label for="password">Password: </label>
					<input type="password" name="password" id="password">
				</div>
				<div>
					<label for="verifying-password">Repeat password: </label>
					<input type="password" name="verifyPassword" id="verifying-password">
				</div>
				<?php 
echo getFieldErrors($errors, 'password');
?>
			</div>
			<div>
				<input type="submit">
			</div>
		</form>
		<?php 
if ($_POST) {
    ?>
			<?php 
    echo correctForm($errors);
    ?>
		<?php 
}
?>
	</div>
</body>
</html>
		color:red;
	}

	.error input {
		border-color: red;
	}
	</style>
</head>
<body>
	<div id="root">
		<form action="" method="POST">
			<div class="<?php 
echo getErrorClass($errors);
?>
">
				<input type="text" name="input" value="<?php 
echo htmlentities($input);
?>
">
				<?php 
echo getErrorField($errors);
?>
			</div>
			<input type="submit">
		</form>
		<?php 
echo correctForm($input);
?>
	</div>
</body>
</html>