Skip to content

Commit

Permalink
update: add arabic name in the error fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-Salman29 committed Jul 8, 2024
1 parent 31394d3 commit 5c71fa6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ def __init__(

error_message_dict = {
"level_of_education": _("A level of education is required"),
"gender": _("Your gender is required"),
"year_of_birth": _("Your year of birth is required"),
"mailing_address": _("Your mailing address is required"),
"goals": _("A description of your goals is required"),
Expand All @@ -201,6 +200,7 @@ def __init__(
"phone_number": _("Your phone number is required"),
"date_of_birth": _("Your date of birth is required"),
"gender": _("Your gender is required"),
"arabic_name": _("A arabic name is required"),
}
for field_name, field_value in extra_fields.items():
if field_name not in self.fields:
Expand Down

0 comments on commit 5c71fa6

Please sign in to comment.