add checkbox and fix spaces in name fields
All checks were successful
Build Docker / deploy (push) Successful in 55s
Build Docker / build (push) Successful in 51s

This commit is contained in:
2026-05-18 08:22:20 +03:00
parent adfcbd2aff
commit 2900820afb
2 changed files with 3 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ NameStr = Annotated[
StringConstraints(
min_length=2,
max_length=50,
pattern=r'^[A-Za-zА-ЯЁа-яё]+$'
pattern=r'^[A-Za-zА-ЯЁа-яё ]+$'
)
]
class UserAccess(BaseModel):

View File

@@ -639,6 +639,8 @@
Виски</label>
<label class="option"><input type="checkbox" name="drink" value="tequila" id="ctequila">
Текила</label>
<label class="option"><input type="checkbox" name="drink" value="sam" id="sam">
Самогон</label>
</div>