Add edit links to KO Review sections that link to TO form

This commit is contained in:
Montana
2019-02-15 10:33:18 -05:00
parent cac3a00b63
commit bef2b8ed24
3 changed files with 26 additions and 14 deletions

View File

@@ -0,0 +1,9 @@
{% from "components/edit_link.html" import EditLink %}
{% macro TOEditLink(screen=1, anchor=None) %}
{% if task_order %}
{{ EditLink(url_for("task_orders.new", screen=screen, task_order_id=task_order.id, _anchor=anchor)) }}
{% else %}
{{ EditLink(url_for("task_orders.new", screen=screen, _anchor=anchor)) }}
{% endif %}
{% endmacro %}