Rename view TO file and update sticky header

This commit is contained in:
leigh-mil
2019-12-23 11:26:35 -05:00
parent 8ece47627e
commit 2e088d1316
3 changed files with 8 additions and 4 deletions

View File

@@ -4,9 +4,9 @@
{% block portfolio_content %}
{% call StickyCTA(text="Task order details") %}
{% call StickyCTA(text="Task Order #{}".format(task_order.number)) %}
{% if user_can(permissions.EDIT_TASK_ORDER_DETAILS) and not task_order.is_expired %}
<a href="{{ url_for('task_orders.edit', task_order_id=task_order.id) }}" class="usa-button usa-button-secondary" type="submit">Edit</a>
<a class="sticky-cta--link" href="{{ url_for('task_orders.edit', task_order_id=task_order.id) }}">Correct an Error</a>
{% endif %}
{% endcall %}