RegisterTemplate.html revision fcae1eb1a041c1f9c83f68268d10a17214331397
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington<div class="container-shadow">
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington {{#if isStageOne}}
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <form id="forgotPassword" action="" class="form" method="post" onsubmit="return false">
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <h1>{{t "templates.user.UserRegistrationTemplate.registerYourAccount"}}</h1><br/>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <div id="step1">
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <fieldset>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <div class="group-field-row group-field-short">
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <label for="email" >{{t "common.user.emailAddress"}}</label>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <input type="email" id="email" name="email" value="" required autofocus data-validator="required" data-validator-event="keyup change"/>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <span class="error">x</span>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington </div>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <div class="group-actions-block float-right">
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <input type="submit" id="continue" value="{{t 'common.form.submit'}}" disabled="true" class="button" />
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <input type="button" value="{{t "common.form.cancel"}}" class="button cancelButton"/>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington </div>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington </fieldset>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington </div>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <div id="emailSent" style="display:none">
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington {{t "templates.user.UserRegistrationTemplate.emailSent"}}
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington </div>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington </form>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington {{else}}
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <form id="registration" action="" class="form" method="post" onsubmit="return false">
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <h1>{{t "templates.user.UserRegistrationTemplate.registerYourAccount"}}</h1><br/>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <fieldset id="step2">
15f60c5ba586de69e94c6045e9bf91103e924020James Phillpotts
15f60c5ba586de69e94c6045e9bf91103e924020James Phillpotts {{#if urlParams.email}}
15f60c5ba586de69e94c6045e9bf91103e924020James Phillpotts <div class="group-field-row">
15f60c5ba586de69e94c6045e9bf91103e924020James Phillpotts <label for="email">{{t "common.user.emailAddress"}}</label>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <input type="email" id="email" name="email" value="{{urlParams.email}}" readonly />
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <span class="ok">✔</span>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington </div>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington {{/if}}
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <div class="group-field-row">
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <label for="username">{{t "common.user.username"}}</label>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <input type="text" id="username" name="username" value="" autofocus data-validator="required" required data-validator-event="keyup change"/>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <span class="error">x</span>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington </div>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <div class="group-field-row">
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <label for="givenname">{{t "common.user.givenName"}}</label>
a6fc9ae6bd096a653649fdf8e4189f102dd4cdf2Phill Cunnington <input type="text" id="givenname" name="givenname" value="" />
a6fc9ae6bd096a653649fdf8e4189f102dd4cdf2Phill Cunnington </div>
a6fc9ae6bd096a653649fdf8e4189f102dd4cdf2Phill Cunnington
a6fc9ae6bd096a653649fdf8e4189f102dd4cdf2Phill Cunnington <div class="group-field-row">
6b055fbf69118e3dee2cef69195b41f54029e09eJames Phillpotts <label for="sn">{{t "common.user.familyName"}}</label>
6b055fbf69118e3dee2cef69195b41f54029e09eJames Phillpotts <input type="text" id="sn" name="sn" value="" data-validator="required" required data-validator-event="keyup change"/>
6b055fbf69118e3dee2cef69195b41f54029e09eJames Phillpotts <span class="error">x</span>
6b055fbf69118e3dee2cef69195b41f54029e09eJames Phillpotts </div>
6b055fbf69118e3dee2cef69195b41f54029e09eJames Phillpotts
6b055fbf69118e3dee2cef69195b41f54029e09eJames Phillpotts <div class="group-field-row">
6b055fbf69118e3dee2cef69195b41f54029e09eJames Phillpotts <label for="telephonenumber">{{t "common.user.phoneNumber"}}</label>
6b055fbf69118e3dee2cef69195b41f54029e09eJames Phillpotts <input type="tel" id="telephonenumber" name="telephonenumber" value="" />
9dc0bc74a8acbd729d3d316f53c20901662d0283Phill Cunnington </div>
9dc0bc74a8acbd729d3d316f53c20901662d0283Phill Cunnington
9dc0bc74a8acbd729d3d316f53c20901662d0283Phill Cunnington
9dc0bc74a8acbd729d3d316f53c20901662d0283Phill Cunnington
9dc0bc74a8acbd729d3d316f53c20901662d0283Phill Cunnington <div class="group-field-row">
9dc0bc74a8acbd729d3d316f53c20901662d0283Phill Cunnington <label for="password">{{t "common.user.password"}}</label>
9dc0bc74a8acbd729d3d316f53c20901662d0283Phill Cunnington <div class="group-input-span">
9dc0bc74a8acbd729d3d316f53c20901662d0283Phill Cunnington <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" />
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <div class="field-rule">
568e7121664e2ad34a90bf97ae9129134a8ce408Phill Cunnington <span class="error">x</span>
d72b59ef0fcc0226a5a655ad967e4c24729afa3ePhill Cunnington <span data-for-validator="minLength">{{t "common.form.validation.atLeast8Characters"}}</span>
</div>
</div>
</div>
<div class="group-field-row">
<label for="passwordConfirm">{{t "common.user.confirmPassword"}}</label>
<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" />
<input type="button" id="cancel" value="{{t "common.form.cancel"}}" class="button cancelButton"/>
</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>