<?page title="${labels.Loggingin}" contentType="text/x-component;charset=UTF-8"?>
<zk>
	<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
	<window
		border="normal"
		width="300px"
		apply="org.zkoss.bind.BindComposer"
		viewModel="@id('vm') @init('info.bukova.isspst.ui.LoginVM')">
		<caption
			image="/img/lock-032.png"
			zclass="form-caption"
			label="${labels.Loggingin}" />
		<label
			value="${labels.WrongNameOrPassword}"
			style="font-weight:bold; font-size: 14px; color: red;"
			visible="@load(vm.loginFailed)" />
		<html style="font-family:arial,sans-serif;font-size:12px;">
			
			<![CDATA[
<form name='loginForm' action="j_spring_security_check" method='POST'>

<table>
	<tr>
		<td>${labels.UsersFormFirstName}:</td>
		<td><input type='text' name='j_username' value='' size="25" /></td>
	</tr>
	<tr>
		<td>${labels.UsersFormPassword}:</td>
		<td><input type='password' name='j_password' size="25" /></td>
	</tr>
	<tr>
		<td colspan='2' align="center">
			<input name="submit" type="submit" value="${labels.Login}" class="nicebutton" />
		</td>
	</tr>
</table>

</form>
			]]>
		</html>
	</window>
</zk>