<!--
	Copyright (C) 2004 Orbeon, Inc.
	
	This program is free software; you can redistribute it and/or modify it under the terms of the
	GNU Lesser General Public License as published by the Free Software Foundation; either version
	2.1 of the License, or (at your option) any later version.
	
	This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
	without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
	See the GNU Lesser General Public License for more details.
	
	The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
-->
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:xforms="http://www.w3.org/2002/xforms"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:xxforms="http://orbeon.org/oxf/xml/xforms"
	xmlns:f="http://orbeon.org/oxf/xml/formatting" xsl:version="2.0">
	<head>
		<title>Formation Orbeon</title>
	</head>
	<body>

		<div align="center">
			<center>
				<h1>AUTHENTIFICATION</h1>
			</center>
		</div>
		<br />
		<br />
		<br />
		<br />
		<center>
			<xforms:group ref="/form" xxforms:show-errors="{doc('input:instance')/form/show-errors = 'true'}">
		           
		            <div STYLE="border-style:ridge; width:40%; height:40%" width='100'>
		                 <p> Saisir votre login et votre mot de passe </p>
		            <table>
					<tr>
						<td  bgcolor='FF99CC' style="ont-weight: bold; text-align: center">Login :</td>
						<td>
							<xforms:input ref="authentification/login">
		                      <xforms:alert>Error login </xforms:alert>
							  <xforms:hint>saisir votre login</xforms:hint>
							  </xforms:input>
						</td>
					</tr>
					<tr>
						<td bgcolor='FF99CC' style="ont-weight: bold; text-align: center">password :</td>
						<td>
							<xforms:secret ref="authentification/password">
			                   <xforms:alert>Error password </xforms:alert>
							  <xforms:hint>saisir votre mot de passe</xforms:hint>
							</xforms:secret>
						</td>
					</tr>
					<tr>
					 <td colspan='2' align='right'>
					    <xforms:submit>
					      <xforms:label>Entrer</xforms:label>
					     <xforms:setvalue ref="action">verifierLogin</xforms:setvalue>
					    </xforms:submit>
					 </td>
					</tr>
					<tr>
					  <td colspan='2' align='right'>
					    <a href='/step1'>Creer un compte</a>
					    
					  </td>
					</tr>
					</table>
		                 
		            </div>
				
			</xforms:group>
		</center>
		<f:xml-source>
			<xsl:copy-of select="doc('input:instance')/form/*" />
		</f:xml-source>
	</body>
</html>
