Move checkbox validation message to translations
This commit is contained in:
parent
80f028540c
commit
cbea71259c
@ -42,6 +42,10 @@ class PortfolioCreationForm(BaseForm):
|
||||
widget=ListWidget(prefix_label=False),
|
||||
option_widget=CheckboxInput(),
|
||||
validators=[
|
||||
InputRequired(message="You must select at least one defense component.")
|
||||
InputRequired(
|
||||
message=translate(
|
||||
"forms.portfolio.defense_component.validation_message"
|
||||
)
|
||||
)
|
||||
],
|
||||
)
|
||||
|
@ -203,6 +203,7 @@ forms:
|
||||
marine_corps: Marine Corps
|
||||
navy: Navy
|
||||
other: Other
|
||||
validation_message: You must select at least one defense component.
|
||||
help_text: |
|
||||
<p>
|
||||
Select the DOD component(s) that will fund all Applications within this Portfolio.
|
||||
|
Loading…
x
Reference in New Issue
Block a user