[Pass-reset] Fix. Indentation + out of context changes with js experiment

This commit is contained in:
eoghan.conlon 2023-07-27 17:52:35 +01:00
parent d1397bc967
commit f592d18ac2

View file

@ -3,11 +3,9 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<title>Password reset</title> <title>Password reset</title>
<script src="formHandler.js"></script>
</head> </head>
<body> <body>
<div> <form id="reset">
<form name ="myForm" action="" method="get" id="form">
<label for="uid">Username</label> <label for="uid">Username</label>
<input type="text" id="uid" name="uid" /> <br /> <input type="text" id="uid" name="uid" /> <br />
<label for="oldPw">Old Password</label> <label for="oldPw">Old Password</label>
@ -16,12 +14,12 @@
<input type="password" id="newPW1" name="newPW" /> <br /> <input type="password" id="newPW1" name="newPW" /> <br />
<label for="newPW2">Confirm</label> <label for="newPW2">Confirm</label>
<input type="password" id="newPW2" name="newPWConfirm" /> <br /> <input type="password" id="newPW2" name="newPWConfirm" /> <br />
<input type="Button" value="Submit" onclick="handleSubmit(this.form)" /> <input type="Submit" value="Submit" />
</form> </form>
</div>
<footer> <footer>
UL Computer Society 2023-<span id="year">2023</span> UL Computer Society 2023-<span id="year">2023</span>
</footer> </footer>
<script src="formHandler.js"></script>
</body> </body>
<script> <script>
document.getElementById('year').textContent = new Date().getFullYear().toString(); document.getElementById('year').textContent = new Date().getFullYear().toString();