Make sure am_cor is checked when you return to the page after saving

This commit is contained in:
Montana 2019-01-16 11:48:39 -05:00
parent ae494d3bb5
commit 47c61655aa

View File

@ -78,6 +78,10 @@ class ShowTaskOrderWorkflow:
if self._section["section"] == "app_info":
self._form.complexity.data = self.task_order.complexity
self._form.dev_team.data = self.task_order.dev_team
elif self._section["section"] == "oversight":
if self.user.dod_id == self.task_order.cor_dod_id:
self._form.am_cor.data = True
else:
self._form = self._section[form_type]()