Rename routes
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
|
||||
{% call StickyCTA(text="Funding") %}
|
||||
{% if user_can(permissions.CREATE_TASK_ORDER) %}
|
||||
<a href="{{ url_for("task_orders.add_to_pdf", portfolio_id=portfolio.id) }}" class="usa-button usa-button-primary" type="submit">Start a new task order</a>
|
||||
<a href="{{ url_for("task_orders.add_pdf", portfolio_id=portfolio.id) }}" class="usa-button usa-button-primary" type="submit">Start a new task order</a>
|
||||
{% endif %}
|
||||
{% endcall %}
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
{% endcall %}
|
||||
|
||||
{% call StickyCTA(text="Review Funding") %}
|
||||
<a href="{{ url_for("task_orders.add_to_pdf", task_order_id=task_order.id) }}" class="usa-button usa-button-secondary" type="submit">Edit</a>
|
||||
<a href="{{ url_for("task_orders.add_pdf", task_order_id=task_order.id) }}" class="usa-button usa-button-secondary" type="submit">Edit</a>
|
||||
<a v-on:click="openModal('submit-to-1')" class="usa-button usa-button-primary" type="submit">Submit task order</a>
|
||||
{% endcall %}
|
||||
|
||||
|
@@ -6,9 +6,9 @@
|
||||
|
||||
{% block portfolio_content %}
|
||||
{% if task_order_id %}
|
||||
{% set action = url_for("task_orders.upload_to_pdf", task_order_id=task_order_id) %}
|
||||
{% set action = url_for("task_orders.upload_pdf", task_order_id=task_order_id) %}
|
||||
{% else %}
|
||||
{% set action = url_for("task_orders.upload_to_pdf", portfolio_id=portfolio.id) %}
|
||||
{% set action = url_for("task_orders.upload_pdf", portfolio_id=portfolio.id) %}
|
||||
{% endif %}
|
||||
|
||||
<base-form inline-template>
|
||||
|
@@ -4,7 +4,7 @@
|
||||
{% from 'components/text_input.html' import TextInput %}
|
||||
|
||||
{% block portfolio_content %}
|
||||
{% set action = url_for("task_orders.update_to_number", task_order_id=task_order_id) %}
|
||||
{% set action = url_for("task_orders.update_number", task_order_id=task_order_id) %}
|
||||
|
||||
<base-form inline-template>
|
||||
<form id="upload-to-pdf" action='{{ action }}' method="POST" autocomplete="off" enctype="multipart/form-data">
|
||||
|
Reference in New Issue
Block a user