{% extends "base.html" %}
{% block left_pannel %}
{% endblock %}
{% block content %}

{%if not current_user.is_authenticated %}
    <h1>Already logged in</h1>
{% else %}
    <form method="post" action="/change_password/">
        <table>
            <tr>
                <td class="comlumn-name">Change password</td>
                <td><input type="text" name="password"></td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit"  name="NewPassword" value="send" class="button"/></td>
            </tr>
        </table>
    </form>
{% endif %}
{% endblock %}