forked from orbit-oss/flask
Fixed typo in form docs
This commit is contained in:
parent
06ec917dde
commit
50a3313071
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ This is an example form for a typical registration page::
|
||||||
username = TextField('Username', [validators.Length(min=4, max=25)])
|
username = TextField('Username', [validators.Length(min=4, max=25)])
|
||||||
email = TextField('Email Address', [validators.Length(min=6, max=35)])
|
email = TextField('Email Address', [validators.Length(min=6, max=35)])
|
||||||
password = PasswordField('New Password', [Required(),
|
password = PasswordField('New Password', [Required(),
|
||||||
EqualTo('confirm', mesage='Passwords must match')])
|
EqualTo('confirm', message='Passwords must match')])
|
||||||
confirm = PasswordField('Repeat Password')
|
confirm = PasswordField('Repeat Password')
|
||||||
accept_tos = BooleanField('I accept the TOS', [validators.Required()])
|
accept_tos = BooleanField('I accept the TOS', [validators.Required()])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue