changement

This commit is contained in:
Emma781227
2026-07-23 13:45:11 +02:00
parent b6506435d5
commit 7f816c165b
13 changed files with 208 additions and 96 deletions

View File

@@ -121,10 +121,11 @@ export default function Profile() {
{ name: 'confirmPassword', label: 'Confirmer le nouveau mot de passe', key: 'confirm' },
].map(({ name, label, key }) => (
<div key={name}>
<label className="block text-sm font-medium text-gray-800 mb-1">{label}</label>
<label htmlFor={name} className="block text-sm font-medium text-gray-800 mb-1">{label}</label>
<div className="relative">
<input
type={showPw[key] ? 'text' : 'password'}
id={name}
name={name}
value={pwForm[name]}
onChange={handlePwChange}