summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/changepw/index.html2
-rw-r--r--templates/changepw/reset_password.html5
2 files changed, 3 insertions, 4 deletions
diff --git a/templates/changepw/index.html b/templates/changepw/index.html
index ef9a95b..40dd8b3 100644
--- a/templates/changepw/index.html
+++ b/templates/changepw/index.html
@@ -5,7 +5,7 @@
{% block content %}
<h2>Password Manager</h2>
<p>
- Hello {{ full_name }},<br />
+ Hello {{ full_name|capfirst }},<br />
Welcome to the password management site.
</p>
diff --git a/templates/changepw/reset_password.html b/templates/changepw/reset_password.html
index a9e49e2..d231f51 100644
--- a/templates/changepw/reset_password.html
+++ b/templates/changepw/reset_password.html
@@ -4,15 +4,14 @@
{% block title %}Password reset{% endblock %}
{% block content %}
<h2>Password reset</h2>
-
{% if return_value == 0 %}
<p>Here is your new password:</p>
<table>
<tr>
- <td>Username:</td><td>{{ username }}</td>
+ <th>Username:</th><td>{{ username }}</td>
</tr>
<tr>
- <td>Password:</td><td>{{ username }}/ppp</td>
+ <th>Password:</th><td>{{ new_password }}</td>
</tr>
</table>
{% else %}