Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
d255f520
Commit
d255f520
authored
May 11, 2015
by
Sean Hammond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add second email address field
parent
b1aa4ddb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
account-controller.coffee
h/static/scripts/account/account-controller.coffee
+1
-0
account.html
h/templates/client/settings/account.html
+10
-0
No files found.
h/static/scripts/account/account-controller.coffee
View file @
d255f520
...
...
@@ -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
)
...
...
h/templates/client/settings/account.html
View file @
d255f520
...
...
@@ -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"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment