Make project_owners & shareholders required..

..and tweak "country" label text
This commit is contained in:
Carl van Tonder 2018-04-04 18:26:34 -04:00
parent 316f2cb78a
commit 8f544992cd
2 changed files with 4 additions and 1 deletions

View File

@ -118,6 +118,9 @@ class LongCaseStudyForm(BaseCaseStudyForm):
choices=POSITIVE_CASE_TYPE_CHOICES
)
self.fields['project_owners'].required = True
self.fields['shareholders'].required = True
self.helper.form_action = reverse('long-form')
self.helper.layout = Layout(
TabHolder(

View File

@ -267,7 +267,7 @@ class CaseStudy(models.Model):
# 1.4
country = CountryField(
verbose_name=_("Country field"),
verbose_name=_("Country"),
help_text=_("Select the country of the project")
)