Projekt-Pracownia_Programow.../templates/changePassword.html

17 lines
627 B
HTML

<html>
<head>
<title>Zmień hasło</title>
<script src={{ url_for('static', filename='js/changePassword.js') }}></script>
</head>
<body>
<h1>Zmień hasło</h1>
<p>{{ msg }}</p>
<form action={{ url_for('changePassword') }} method="POST" onsubmit="return validate()">
<p>stare hasło: <input type="password" name="oldpassword"></p>
<p>nowe hasło: <input type="password" name="newpassword" id="newpassword"></p>
<p>powtórz hasło: <input type="password" name="cpassword" id="cpassword"></p>
<input type="submit" value="Save">
</form>
<a href="{{ url_for('profileHome') }}">Idż do Profilu</a>
</body>
</html>