<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:variable name="Space"><xsl:text>&amp;nbsp;</xsl:text></xsl:variable>
<xsl:output method="html"/>

<xsl:template match="/">
	<html>
		<head>
			<link rel="STYLESHEET" href="css/main.css" type="text/css"/>
			<script type="text/javascript">

			</script>
		</head>
		<body>
			<xsl:apply-templates select="profile_page"/>
		</body>
	</html>
        
        
</xsl:template>


<!-- ======================================================================= -->
	<xsl:template match="profile_page">
		<div class="page_header">Profile</div>
		<form name="profile_form" method="POST" action="{@profile_form_url}">
			<table class="login">
				<tr>
					<td class="input_label">Name</td>
					<td><input type="text" name="name" id="name" value="{@name}"/></td>
				</tr>
				<tr>
					<td class="input_label">Surname</td>
					<td><input type="text" name="surname" id="surname" value="{@surname}"/></td>
				</tr>
				<tr>
					<td class="input_label">Username (email)</td>
					<td><input type="text" name="email" id="email" value="{@email}" required="Y"/></td>
				</tr>
				<tr>
					<td class="input_label">Password</td>
					<td><input type="password" name="password" placeholder="Min 5 character to reset password, blank keeps password"/></td>
				</tr>
				<tr>
					<td class="input_label_long">Repeat Password</td>
					<td><input type="password" name="password_repeat"/></td>
				</tr>
				<tr>
					<td></td>
					<td>
						<button type="submit" name="action" value="save" tabindex="20">Update</button>
					</td>
				</tr>
			</table>
		</form>
		<p/>
	</xsl:template>


</xsl:stylesheet>