fix(leads): fix undefined lang variable in quote validation error path

Used g.get("lang", "en") consistent with the rest of the file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-02-22 13:04:36 +01:00
parent 6e1e6b0484
commit 95888dedb9

View File

@@ -302,7 +302,7 @@ async def quote_request():
"quote_request.html",
data=form_data,
step=9,
steps=_get_quote_steps(lang),
steps=_get_quote_steps(g.get("lang", "en")),
errors=field_errors,
)