feat: Add password confirmation and error messages

This commit is contained in:
Your Name (aider) committed 2025-04-28 13:58:52 +08:00
1 parent 5f853a049c
commit 8bd94b9c06
1 file changed
+6
+6
View File
@@ -74,6 +74,7 @@
</tr>
</table>
</form>
<p class="text-sm text-primary mt-2">Bad Login</p>
<p class="text-sm text-text-muted mt-2"><a href="#" class="text-primary hover:underline">Forgot your password?</a></p>
</div>
@@ -92,6 +93,10 @@
<td><label class="block text-sm font-medium mb-1" for="signup-password">password:</label></td>
<td><input class="px-3 py-1 border border-gray-300 rounded" type="password" id="signup-password" name="password" required></td>
</tr>
<tr>
<td><label class="block text-sm font-medium mb-1" for="signup-password-confirm">confirm password:</label></td>
<td><input class="px-3 py-1 border border-gray-300 rounded" type="password" id="signup-password-confirm" name="password-confirm" required></td>
</tr>
<tr>
<td colspan="2"><div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div></td>
</tr>
@@ -100,6 +105,7 @@
</tr>
</table>
</form>
<p class="text-sm text-primary mt-2">Passwords do not match</p>
</div>
</div> <!-- End container -->