RegisterTemplate.html revision 1889f15ae9583798fd7ce87822d9056ae072e963
<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" autocomplete="off">
<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">
<p>{{t "config.messages.UserMessages.afterRegistration"}} <a href="#" class="cancelButton">{{t "templates.user.ForgottenPasswordTemplate.proceedToLogin"}}</a></p>
</div>
</form>
{{/if}}
</div>