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

17 lines
627 B
HTML
Raw Normal View History

2023-02-01 20:00:08 +01:00
<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>