mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-03 01:33:32 +02:00
Merge branch 'main' of github.com:cisagov/manage.get.gov into rh/1500-domain-req-alt-req-same
This commit is contained in:
commit
92e7e40ee2
50 changed files with 729 additions and 128 deletions
|
@ -487,7 +487,8 @@ class DotGovDomainForm(RegistrarForm):
|
|||
values = {}
|
||||
requested_domain = getattr(obj, "requested_domain", None)
|
||||
if requested_domain is not None:
|
||||
values["requested_domain"] = Domain.sld(requested_domain.name)
|
||||
domain_name = requested_domain.name
|
||||
values["requested_domain"] = Domain.sld(domain_name)
|
||||
return values
|
||||
|
||||
def clean_requested_domain(self):
|
||||
|
@ -837,8 +838,8 @@ class AnythingElseForm(RegistrarForm):
|
|||
|
||||
class RequirementsForm(RegistrarForm):
|
||||
is_policy_acknowledged = forms.BooleanField(
|
||||
label="I read and agree to the requirements for operating .gov domains.",
|
||||
label="I read and agree to the requirements for operating a .gov domain.",
|
||||
error_messages={
|
||||
"required": ("Check the box if you read and agree to the requirements for operating .gov domains.")
|
||||
"required": ("Check the box if you read and agree to the requirements for operating a .gov domain.")
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue