RegisterTemplate.html revision ad47b91a71f74847b6b16d29bfb7e4d7c9be5d07
<div class="container-shadow">
{{#if isStageOne}}
<form id="forgotPassword" action="" class="form" method="post" onsubmit="return false">
<div id="step1">
<fieldset>
<div class="group-field-row group-field-short">
<input type="email" id="email" name="email" value="" required autofocus data-validator="required" data-validator-event="keyup change"/>
<span class="error">x</span>
</div>
<div class="group-actions-block float-right">
<input type="submit" id="continue" value="{{t 'common.form.submit'}}" disabled="true" class="button" />
</div>
</fieldset>
</div>
<div id="emailSent" style="display:none">
</div>
</form>
{{else}}
<form id="registration" action="" class="form" method="post" onsubmit="return false">
<fieldset id="step2">
{{#if urlParams.email}}
<div class="group-field-row">
<span class="ok">✔</span>
</div>
{{/if}}
<div class="group-field-row">
<input type="text" id="username" name="username" value="" autofocus data-validator="required" required data-validator-event="keyup change"/>
<span class="error">x</span>
</div>
<div class="group-field-row">
<input type="text" id="givenname" name="givenname" value="" />
</div>
<div class="group-field-row">
<input type="text" id="sn" name="sn" value="" data-validator="required" required data-validator-event="keyup change"/>
<span class="error">x</span>
</div>
<div class="group-field-row">
<input type="tel" id="telephonenumber" name="telephonenumber" value="" />
</div>
<div class="group-field-row">
<div class="group-input-span">
<input type="password" id="password" name="password" value="" data-validator="minLength" required data-validation-dependents="passwordConfirm" minLength="8" pattern=".{8,}" data-validator-event="keyup change" data-validation-status="error" />
<div class="field-rule">
<span class="error">x</span>
</div>
</div>
</div>
<div class="group-field-row">
<div class="group-input-span">
<input type="password" id="passwordConfirm" name="passwordConfirm" value="" data-validator="passwordConfirm" data-validator-event="keyup change" required />
<div class="field-rule">
<span class="error">x</span>
<span data-for-validator="passwordConfirm">{{t "common.form.validation.confirmationMatchesPassword"}}</span>
</div>
</div>
</div>
<div class="group-actions-block float-right">
<input type="submit" id="registerButton" value="{{t "common.form.submit"}}" class="button" disabled="true" />
</div>
</fieldset>
<div id="registerSuccess" style="display:none">
{{t "config.messages.UserMessages.afterRegistration"}} <a href="#" class="cancelButton">{{t "templates.user.ForgottenPasswordTemplate.proceedToLogin"}}</a>
</div>
</form>
{{/if}}
</div>