Files
CatoandClaude Opus 5 6fc47ed130 refactor(auth): one field and one submit across the four auth pages
Sign in, register, forgot password and reset password are four views of
essentially one form, and each had written out its own label/input/error block
— seven copies of the same six lines — plus its own submit button.

The block is small, which is exactly why it drifts: it is the kind of thing you
copy without reading. The `htmlFor`/`id` pairing, the error paragraph placed
after the input rather than before it, and the button that disables itself
while submitting are accessibility and double-submit guarantees. They should
hold on all four pages because they are one component, not because four pages
happened to remember.

These are also the only pages a patient meets before they have an account, so
"it behaves slightly differently on the reset page" is a trust problem rather
than a cosmetic one.

app/[locale]/(auth)/AuthFields.tsx now holds AuthField and AuthSubmit; each
page keeps its own translations, layout and links. Markup, classes and copy are
unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KAn51JHFcTrPeCjZDGXM8
2026-09-15 11:57:32 +02:00
..
2026-08-29 10:48:01 +00:00
2026-08-29 10:48:01 +00:00
2026-08-29 10:48:01 +00:00
2026-08-29 10:48:01 +00:00
2026-08-29 10:48:01 +00:00