Allow creating a task order for an existing portfolio

This commit is contained in:
Patrick Smith
2019-01-16 08:13:58 -05:00
parent a010487f34
commit 1cc4c23588
3 changed files with 47 additions and 6 deletions

View File

@@ -12,7 +12,7 @@
{% if task_order_id %}
<form method='POST' action="{{ url_for('task_orders.new', screen=current, task_order_id=task_order_id) }}" autocomplete="off">
{% else %}
<form method='POST' action="{{ url_for('task_orders.update', screen=current) }}" autocomplete="off">
<form method='POST' action="{{ url_for('task_orders.update', screen=current, portfolio_id=portfolio_id) }}" autocomplete="off">
{% endif %}
{% endblock %}