Update styling on portfolio admin page, update portfolio form to include description

This commit is contained in:
leigh-mil
2019-12-23 14:53:52 -05:00
parent 86913ec738
commit 667554dba4
6 changed files with 44 additions and 44 deletions

View File

@@ -23,20 +23,10 @@ class PortfolioForm(BaseForm):
)
],
)
class PortfolioCreationForm(BaseForm):
name = StringField(
translate("forms.portfolio.name.label"),
validators=[
Length(
min=4,
max=100,
message=translate("forms.portfolio.name.length_validation_message"),
)
],
)
description = TextAreaField(translate("forms.portfolio.description.label"),)
class PortfolioCreationForm(PortfolioForm):
defense_component = SelectMultipleField(
choices=SERVICE_BRANCHES,
widget=ListWidget(prefix_label=False),