Files
project-behind-the-desk/_includes/change_password.liquid
T
Kerby Martino 179b3ab06a Refactor change-password page to use Liquid template
Migrated the HTML structure to a reusable Liquid template for consistency and maintainability. Updated the page to use the new template and adjusted the permalink for the change-password functionality.
2025-04-29 08:20:09 +08:00

37 lines
1.9 KiB
Plaintext

<form class="space-y-4">
<div class="w-full overflow-x-auto">
<table class="w-full" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<table class="w-full min-w-[300px] table-auto" border="0">
<tbody>
<tr>
<td class="py-2 align-top w-24 sm:w-32 text-primary text-sm font-medium">New Password:</td>
<td><input type="password" name="new_password" class="w-full max-w-full sm:w-[350px] md:w-[450px] text-primary text-sm px-3 py-1 border border-gray-300 rounded"></td>
</tr>
<tr>
<td class="py-2 align-top w-24 sm:w-32 text-primary text-sm font-medium">Confirm New Password:</td>
<td><input type="password" name="confirm_password" class="w-full max-w-full sm:w-[350px] md:w-[450px] text-primary text-sm px-3 py-1 border border-gray-300 rounded"></td>
</tr>
<tr>
<td class="py-2"></td>
<td>
<font size="2" class="text-primary text-sm">Passwords do not match</font>
</td>
</tr>
<tr>
<td class="py-2 w-24 sm:w-32"></td>
<td><button type="submit" class="px-2 py-1 bg-primary text-white rounded hover:bg-primary-dark">Change Password</button></td>
</tr>
</tbody>
</table>
<div class="mt-4">
<p class="text-primary text-sm">Please check your email to verify the password change.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</form>