<?xml version="1.0"?>
<yep:description
    xmlns:ev="http://www.w3.org/2001/xml-events"
    xmlns:xforms="http://www.w3.org/2002/xforms"
    xmlns:yep="http://www.entrouvert.org/namespaces/expression/0.0">
 <xforms:model id="passwordAccountModel"
               schema="/schemas/PasswordAccount.xsd">
  <xforms:bind nodeset="yep:afterLoginUrl" relevant="false()"/>
  <xforms:submission action="file://tmp/abracadabra-put.xml" method="put" id="submit"/>
 </xforms:model>
 <yep:page name="edit" type="form">
  <yep:body>
   <h1>Identification</h1>

   <xforms:group model="passwordAccountModel">
    <p>Il est nécessaire de vous identifier pour pouvoir remplir votre dossier
    de candidature au Label Ville Internet 2004</p>
    <div class="field">
     <xforms:input ref="yep:email">
      <xforms:label>Courriel</xforms:label>
     </xforms:input>
    </div>

    <div class="field">
     <xforms:secret ref="yep:password">
      <xforms:label>Identifiant</xforms:label>
     </xforms:secret>
    </div>

    <xforms:input ref="yep:afterLoginUrl">
     <xforms:label yep:translatable="true">After Login URL</xforms:label>
    </xforms:input>
   </xforms:group>
  </yep:body>
  <yep:actionButtonsBar>
   <yep:actionButton>
    <xforms:label>S'identifier</xforms:label>
    <yep:action>submit</yep:action>
   </yep:actionButton>
   <yep:actionButton>
    <xforms:label>Identifiant perdu</xforms:label>
    <yep:action>emailPassword</yep:action>
   </yep:actionButton>
  </yep:actionButtonsBar>
 </yep:page>
</yep:description>
