Commit d255f520 authored by Sean Hammond's avatar Sean Hammond

Add second email address field

parent b1aa4ddb
......@@ -89,6 +89,7 @@ class AccountController
username: username
pwd: form.pwd.$modelValue
email: form.email.$modelValue
emailAgain: form.emailAgain.$modelValue
successHandler = angular.bind(null, onSuccess, form)
errorHandler = angular.bind(null, onError, form)
......
......@@ -16,6 +16,16 @@
</ul>
</div>
<div class="form-field">
<label class="form-label" for="field-emailAgain">Enter Your Email Address Again:</label>
<input id="field-emailAgain" class="form-input" type="email" name="emailAgain" placeholder="{{email}}" required ng-model="changeEmail.emailAgain" />
<ul class="form-error-list">
<li class="form-error" ng-show="changeEmailForm.emailAgain.$error.required">Please enter your new email address twice.</li>
<li class="form-error" ng-show="changeEmailForm.emailAgain.$error.email">Please enter a valid email address.</li>
<li class="form-error" ng-show="changeEmailForm.emailAgain.$error.response">{{changeEmailForm.emailAgain.responseErrorMessage}}</li>
</ul>
</div>
<div class="form-field">
<label class="form-label" for="field-pwd">Password:</label>
<input id="field-pwd" class="form-input" type="password" name="pwd" required ng-model="changeEmail.pwd" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment