mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-12 23:44:51 +02:00
Fix line length linting error, add expaliner comment
This commit is contained in:
parent
edfba9e5bd
commit
776ecae30f
1 changed files with 5 additions and 2 deletions
|
@ -12,6 +12,7 @@ from formtools.wizard.views import NamedUrlSessionWizardView # type: ignore
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
# Subclass used to remove the default colon suffix from all fields
|
||||||
class RegistrarForm(forms.Form):
|
class RegistrarForm(forms.Form):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
kwargs.setdefault("label_suffix", "")
|
kwargs.setdefault("label_suffix", "")
|
||||||
|
@ -176,7 +177,8 @@ class AuthorizingOfficialForm(RegistrarForm):
|
||||||
class CurrentSitesForm(RegistrarForm):
|
class CurrentSitesForm(RegistrarForm):
|
||||||
current_site = forms.CharField(
|
current_site = forms.CharField(
|
||||||
required=False,
|
required=False,
|
||||||
label="Enter your organization’s public website, if you have one. For example, www.city.com.",
|
label="Enter your organization’s public website, if you have one. For example, "
|
||||||
|
"www.city.com.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -184,7 +186,8 @@ class DotGovDomainForm(RegistrarForm):
|
||||||
dotgov_domain = forms.CharField(label="What .gov domain do you want?")
|
dotgov_domain = forms.CharField(label="What .gov domain do you want?")
|
||||||
alternative_domain = forms.CharField(
|
alternative_domain = forms.CharField(
|
||||||
required=False,
|
required=False,
|
||||||
label="Are there other domains you’d like if we can’t give you your first choice? Entering alternative domains is optional.",
|
label="Are there other domains you’d like if we can’t give you your first "
|
||||||
|
"choice? Entering alternative domains is optional.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue