aboutsummaryrefslogtreecommitdiffstats
path: root/views/users
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-07-13 23:50:47 -0700
committerAdam Soltys <[email protected]>2014-07-14 20:23:41 -0700
commit3b565f4f4dcea55779e00493e7cf507cf8392010 (patch)
treef9c6ed0ee513c2fa5d83e39733ff43932892f748 /views/users
parent3c1282f29695cd102af8b5c49ccf16100a6d03d5 (diff)
downloadcoinos-server-3b565f4f4dcea55779e00493e7cf507cf8392010.tar.gz
coinos-server-3b565f4f4dcea55779e00493e7cf507cf8392010.zip
Confirm password
Diffstat (limited to 'views/users')
-rw-r--r--views/users/new.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/views/users/new.html b/views/users/new.html
index 258e8119..e9874217 100644
--- a/views/users/new.html
+++ b/views/users/new.html
@@ -6,12 +6,15 @@
<title>Bitcoin Payment Calculator</title>
<link href="img/favicon.ico" rel="shortcut icon" />
{{#css}}calculator{{/css}}
- {{#js}}setup{{/js}}
+ {{#js}}register{{/js}}
</head>
<body>
<div class="container-fluid">
<form id="register" action="/users" method="post">
<h1>Register</h1>
+ {{#error}}
+ <div class="alert alert-danger">{{error}}</div>
+ {{/error}}
<div class="form-group">
<label for="username">Username:</label>
<input type="text" id="username" name="username" class="form-control" />
@@ -21,6 +24,11 @@
<label for="password">Password:</label>
<input type="password" id="password" name="password" class="form-control" />
</div>
+
+ <div class="form-group">
+ <label for="confirm">Confirm Password:</label>
+ <input type="password" id="confirm" name="confirm" class="form-control" />
+ </div>
<div class="form-group">
<label for="email">Email:</label>