feat(user): adds registration form template
This commit is contained in:
7
app/utils/form_errors_dict.py
Normal file
7
app/utils/form_errors_dict.py
Normal file
@@ -0,0 +1,7 @@
|
||||
FORM_ERRORS = {
|
||||
'REQUIRED': "This field is required.",
|
||||
'PASSWORD_LENGTH': 'It must be at least 6 characters long.',
|
||||
'VALID_EMAIL': 'Enter a valid email address.',
|
||||
'PHONE_NUMBER_FORMAT': 'It can be prefixed with the "+" sign and may only contain numbers after it.',
|
||||
'NAME_FORMAT': 'It must be at least 2 characters long, it may only contain letters.'
|
||||
}
|
||||
Reference in New Issue
Block a user