<!DOCTYPE html>
<html lang="en">
<head>
    <title>Edit Accountts</title>
    <link rel="icon" type="image/x-icon" href="/static/img/favicon.ico">
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
    <div class="panel">
    <div class="navbar">
        <p>Edit {{ name }}'s Account</p>
        <img alt="Ownchat Bot logo, whimsical robot" src="/static/img/ownchatbotwide.png">
    </div>
        <body>
            <form id="edit account" method="POST">
                <table>
                    <tr style="border-bottom: none;">
                        <td> <label for="points">Points:</label> </td>
                        <td> <input id="points" type="number" name="newpoints" value="{{ points }}"> </td>
                        
                        <td> <label for="email">Email:</label> </td>
                        <td> <input id="email" type="text" name="newemail" value="{{ email }}"  size="40"> </td>

                        <input type="hidden" name="user_id" value="{{ user_id }}">
                        <input type="hidden" name="name" value="{{ name }}">
                    </tr>
                </table>
                <br><button id="edit account" class="button button2" type="submit">Save</button><br>
            </form>
            <a href="{{ url_for('web_panels.mgmt', activeTab='accounts') }}">Cancel</a>
        </body>
    </div>
</html>
