Commit 48b9a014 authored by Sean Hammond's avatar Sean Hammond

Move current email address out of <input> fields

Move the user's current email address out of the placeholder attribute
of the new email address <input> field. Just put it in a <p> instead.
This is much better for usability.
parent fb26ab12
......@@ -6,9 +6,11 @@
<h2 class="form-heading"><span>Change Your Email Address</span></h2>
<p class="form-description">Your current email address is: {{email}}.</p>
<div class="form-field">
<label class="form-label" for="field-email">Email Address:</label>
<input id="field-email" class="form-input" type="email" name="email" placeholder="{{email}}" required ng-model="changeEmail.email" />
<label class="form-label" for="field-email">New Email Address:</label>
<input id="field-email" class="form-input" type="email" name="email" required ng-model="changeEmail.email" />
<ul class="form-error-list">
<li class="form-error" ng-show="changeEmailForm.email.$error.required">Please enter your new email address.</li>
<li class="form-error" ng-show="changeEmailForm.email.$error.email">Please enter a valid email address.</li>
......@@ -17,8 +19,8 @@
</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" />
<label class="form-label" for="field-emailAgain">Enter Your New Email Address Again:</label>
<input id="field-emailAgain" class="form-input" type="email" name="emailAgain" 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>
......
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