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