Merge pull request #594 from dod-ccpo/pdf-persistence
Pass existing task order to the Form
This commit is contained in:
commit
b27e3cb726
@ -134,7 +134,7 @@ class UpdateTaskOrderWorkflow(ShowTaskOrderWorkflow):
|
|||||||
if "unclassified_form" in self._section and not app.config.get("CLASSIFIED")
|
if "unclassified_form" in self._section and not app.config.get("CLASSIFIED")
|
||||||
else "form"
|
else "form"
|
||||||
)
|
)
|
||||||
self._form = self._section[form_type](self.form_data)
|
self._form = self._section[form_type](self.form_data, obj=self.task_order)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def form(self):
|
def form(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user