Subversion Repositories WebE

Rev

Rev 27 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 moos 1
<%@taglib uri="/struts-tags" prefix="s"%>
2
<html>
3
<head>
4
<title>User erstellen</title>
5
</head>
6
<body>
7
 
22 moos 8
<h1>User hinzuf&uuml;gen</h1>
9
<p>Bitte geben Sie die Benutzerdaten ein</p>
20 moos 10
<s:form action="doUserAdd">
27 moos 11
	<s:hidden name="user.id" />
12
	<s:textfield name="user.username" label="User Name" />
13
	<s:password name="user.password" label="Password" />
14
	<s:textfield name="user.firstname" label="Vorname" />
15
	<s:textfield name="user.lastname" label="Nachname" />
16
	<s:checkbox name="user.admin"
20 moos 17
		label="Soll der User admin sein?" />
30 moos 18
 
19
	<s:if test="user.id != ''">
20
		<s:submit value="Edit" />
21
	</s:if><s:else>
20 moos 22
	<s:submit value="Add" />
30 moos 23
	</s:else>
27 moos 24
 
20 moos 25
</s:form>
26
</body>
27
</html>