add error message when user prematurely submits TO form

This commit is contained in:
dandds
2019-02-11 15:11:14 -05:00
parent 95fa71fc03
commit 3cc9a918e8
2 changed files with 8 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ def invite(task_order_id):
)
)
else:
flash("task_order_incomplete")
return redirect(
url_for("task_orders.new", screen=4, task_order_id=task_order.id)
)