MentaTutorials

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16 soliveira 1
<%@ page contentType="text/html; charset=UTF-8"%>
2
<%@taglib prefix="mtw" uri="http://www.mentaframework.org/tags-mtw/"%>
3
 
4
<mtw:useI18N prefix="login" />
5
 
6
<html>
7
	<head>
8
		<title>
9
			<mtw:i18n key="title" noPrefix="true" />
10
		</title>
11
	</head>
12
 
13
	<body>
14
        <p>
15
        <b><mtw:i18n key="login" /></b>
16
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
17
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18
        <a href="<mtw:urlWithLoc loc="en" />"><img src="<mtw:contextPath />/images/usa.gif" border="0" width="20" height="13" /></a>
19
        <a href="<mtw:urlWithLoc loc="pt" />"><img src="<mtw:contextPath />/images/brazil.gif" border="0" width="20" height="13" /></a>
20
        </p>
21
		<form action="<mtw:contextPath />/Login.mtw" method="post">
22
			<table>
23
				<tr>
24
					<td>
25
						<mtw:i18n key="username" />
26
					</td>
27
					<td>
28
						<mtw:input name="username" size="20" maxlength="20" />
29
						<mtw:outError field="username">
30
							<font color="red">
31
								<b><mtw:out /></b>
32
							</font>
33
						</mtw:outError>
34
					</td>
35
				</tr>
36
				<tr>
37
					<td>
38
						<mtw:i18n key="password" />
39
					</td>
40
					<td>
41
						<mtw:input name="password" type="password" size="20" maxlength="20" />
42
						<mtw:outError field="password">
43
							<font color="red">
44
								<b><mtw:out /></b>
45
							</font>
46
						</mtw:outError>
47
					</td>
48
				</tr>
49
				<tr>
50
					<td colspan="2">
51
						<input type="submit" value="<mtw:i18n key="enter" />" />
52
					</td>
53
				</tr>
54
 
55
			</table>
56
		</form>
57
		<p>
58
			<a href="<mtw:contextPath />/jsp/user/add.jsp">
59
				<mtw:i18n key="register" />
60
			</a>
61
		</p>
62
	</body>
63
</html>
64