diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/calculator/setup.html | 9 | ||||
| -rw-r--r-- | views/users/new.html | 10 |
2 files changed, 16 insertions, 3 deletions
diff --git a/views/calculator/setup.html b/views/calculator/setup.html index e125eea9..26977c7a 100644 --- a/views/calculator/setup.html +++ b/views/calculator/setup.html @@ -48,8 +48,13 @@ </div> <div class="form-group"> - <label for="password">Password <small>(blank = no change)</small>:</label> - <input type="text" id="password" name="password" class="form-control" /> + <label for="password">New Password <small>(blank = no change)</small>:</label> + <input type="password" id="password" name="password" class="form-control" /> + </div> + + <div class="form-group"> + <label for="confirm">Confirm New Password:</label> + <input type="password" id="confirm" name="confirm" class="form-control" /> </div> <br /> 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> |
