summaryrefslogtreecommitdiff
path: root/views/pages/profile_form.ejs
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-14 08:03:07 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-14 08:03:07 +0100
commitd776e6aa7d1e458ef050c016a4c285aa5887c5f0 (patch)
tree687c4b7a4a8a123c04186e482f3680659a121a40 /views/pages/profile_form.ejs
parentf9a0743696c5e21d81ae0e215e36358788e708df (diff)
edit profile backend stuff
Diffstat (limited to 'views/pages/profile_form.ejs')
-rw-r--r--views/pages/profile_form.ejs21
1 files changed, 14 insertions, 7 deletions
diff --git a/views/pages/profile_form.ejs b/views/pages/profile_form.ejs
index 01b0fae..31ad7e0 100644
--- a/views/pages/profile_form.ejs
+++ b/views/pages/profile_form.ejs
@@ -30,10 +30,10 @@
<br>
<div>
- <label for="profile-pic">Profile picture</label>
+ <label for="profile-avatar">Profile picture</label>
<div>
- <img id="profile-pic-embed" />
- <input type="file" id="profile-pic" name="pic">
+ <img id="profile-avatar-embed" />
+ <input type="file" id="profile-avatar" name="avatar" accept="image/*">
</div>
</div>
<br>
@@ -43,10 +43,12 @@
<input type="text" id="profile-webpage" name="webpage">
</div>
+<!--
<div>
<label for="profile-fb">Facebook</label>
<input type="text" id="profile-fb" name="fb">
</div>
+ -->
<div>
<label for="profile-tw">Twitter</label>
@@ -55,13 +57,18 @@
<br>
<div>
- <label for="profile-password">Change password?</label>
- <input type="password" id="profile-password" name="password">
+ <label for="profile-newpassword">Change password?</label>
+ <input type="password" id="profile-newpassword" name="newpassword">
</div>
<div>
- <label for="profile-password2">again:</label>
- <input type="password" id="profile-password2" name="password2">
+ <label for="profile-newpassword2">again:</label>
+ <input type="password" id="profile-newpassword2" name="newpassword2">
+ </div>
+
+ <div class="oldpassword">
+ <label for="profile-oldpassword"><i>yr old password:</i></label>
+ <input type="password" id="profile-oldpassword" name="oldpassword">
</div>
<br>