Skip to content

Commit

Permalink
Fix label for email field
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault committed Aug 24, 2023
1 parent a610f77 commit ff6ae32
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions envergo/evaluations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ class Evaluation(models.Model):
unique=True,
db_index=True,
)
contact_emails = ArrayField(models.EmailField(), verbose_name=_("Contact e-mails"))
contact_emails = ArrayField(
models.EmailField(), verbose_name=_("Urbanism department email address(es)")
)

request = models.OneToOneField(
"evaluations.Request",
Expand Down Expand Up @@ -453,7 +455,10 @@ class Request(models.Model):
verbose_name=_("Who are you?"),
)
contact_emails = ArrayField(
models.EmailField(), blank=True, default=list, verbose_name=_("Contact e-mails")
models.EmailField(),
blank=True,
default=list,
verbose_name=_("Urbanism department email address(es)"),
)

# TODO rename the inexact word "sponsor"
Expand Down

0 comments on commit ff6ae32

Please sign in to comment.