diff options
Diffstat (limited to 'views/change_mail.ejs')
-rw-r--r-- | views/change_mail.ejs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/views/change_mail.ejs b/views/change_mail.ejs new file mode 100644 index 0000000..6c3ed62 --- /dev/null +++ b/views/change_mail.ejs @@ -0,0 +1,12 @@ +<%- include('header', { title: "Change mail address" }) %> +<form action="/change_mail" method="post"> +<p> +Name: <%= user.name %> +<p> +Mail: <%= user.mail %> +<p> +<label for="newmail">New mail address: </label><br> +<input type="newmail" id="newmail" name="newmail" required> +<p> +<button type="submit">Change mail</button> +</form> |