Make project_owners & shareholders required..
..and tweak "country" label text
This commit is contained in:
parent
316f2cb78a
commit
8f544992cd
@ -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(
|
||||
|
@ -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")
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user