summaryrefslogtreecommitdiff
path: root/views/account/editBio.ejs
blob: fb0a95b2c7e89e9033ea2ba12c907e0a63517924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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') %>