add checkbox and fix spaces in name fields
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user