mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-03 16:32:15 +02:00
Purpose of your domain error message updates
This commit is contained in:
parent
79fc902da9
commit
dd2738482e
1 changed files with 5 additions and 1 deletions
|
@ -51,7 +51,7 @@ class FEBPurposeOptionsForm(BaseDeletableRegistrarForm):
|
|||
choices=form_choices,
|
||||
widget=forms.RadioSelect,
|
||||
error_messages={
|
||||
"required": "This question is required.",
|
||||
"required": "Select the purpose of your requested domain.",
|
||||
},
|
||||
label="Select one",
|
||||
)
|
||||
|
@ -64,6 +64,8 @@ class FEBTimeFrameYesNoForm(BaseDeletableRegistrarForm, BaseYesNoForm):
|
|||
"""
|
||||
|
||||
field_name = "has_timeframe"
|
||||
required_error_message = "Select “Yes” if you have a target time frame for" \
|
||||
" launching this domain. Select “No” if you don’t have a target time frame."
|
||||
|
||||
@property
|
||||
def form_is_checked(self):
|
||||
|
@ -99,6 +101,8 @@ class FEBInteragencyInitiativeYesNoForm(BaseDeletableRegistrarForm, BaseYesNoFor
|
|||
"""
|
||||
|
||||
field_name = "is_interagency_initiative"
|
||||
required_error_message = "Select “Yes” if the domain will be used for an " \
|
||||
"interagency initiative. Select “No” if it won’t be used for an interagency initiative."
|
||||
|
||||
@property
|
||||
def form_is_checked(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue