summaryrefslogtreecommitdiff
path: root/views/account/editBio.ejs
diff options
context:
space:
mode:
authorroot <root@vagrantz.xyz>2021-04-06 10:57:50 +0000
committerroot <root@vagrantz.xyz>2021-04-06 10:57:50 +0000
commit8170d5bc0544fbc02155b8b57751cd1dec33dd69 (patch)
treed5cffb086fe6d5585c1e00ea5d5d2d907e6d2cd6 /views/account/editBio.ejs
initial public commitHEADmaster
Diffstat (limited to 'views/account/editBio.ejs')
-rw-r--r--views/account/editBio.ejs27
1 files changed, 27 insertions, 0 deletions
diff --git a/views/account/editBio.ejs b/views/account/editBio.ejs
new file mode 100644
index 0000000..fb0a95b
--- /dev/null
+++ b/views/account/editBio.ejs
@@ -0,0 +1,27 @@
+<%- include('../partials/header') %>
+<%- include('../partials/nav') %>
+
+<div class='content'>
+ <%- include('../partials/settings') %>
+ <div class='main'>
+ <div class='logCard'>
+ <h4 style='text-align: center;'>Edit Bio</h4>
+ <div class='fff'>
+ <form id='logform' action="/account/<%= usr._id %>?_method=PUT" method='POST'>
+ <label for="">Name:</label>
+ <input type="text" name='bio[name]' value='<%= account.bio.name %>'>
+ <label for="">Website:</label>
+ <input type="text" name='bio[website]' value='<%= account.bio.website %>'>
+ <label for="">About:</label>
+ <input type="text" name='bio[about]' value='<%= account.bio.about %>'>
+ <button><i class='fas fa-edit'></i></button>
+ </form>
+ </div>
+ </div>
+ </div>
+ <%- include('../partials/bio') %>
+</div>
+
+<%- include('../partials/magicSets') %>
+<%- include('../partials/magicBio') %>
+<%- include('../partials/footer') %>