diff --git a/templates/task_orders/builder_base.html b/templates/task_orders/builder_base.html index 14c3eaa4..3b571459 100644 --- a/templates/task_orders/builder_base.html +++ b/templates/task_orders/builder_base.html @@ -35,7 +35,9 @@ {% include "fragments/flash.html" %} - {% block to_builder_form_field %}{% endblock %} +
+ {% block to_builder_form_field %}{% endblock %} +
diff --git a/templates/task_orders/form_header.html b/templates/task_orders/form_header.html new file mode 100644 index 00000000..3c86cf01 --- /dev/null +++ b/templates/task_orders/form_header.html @@ -0,0 +1,19 @@ +{% macro TOFormStepHeader(title, description, to_number=None) %} +
+
+
+
+ {{ title }} +
+
+
+ {% if to_number %} + Task Order Number: {{ to_number }} + {% endif %} +
+
+
+ {{ description }} +
+
+{% endmacro %} diff --git a/templates/task_orders/step_1.html b/templates/task_orders/step_1.html index 49894e5f..21b38aac 100644 --- a/templates/task_orders/step_1.html +++ b/templates/task_orders/step_1.html @@ -2,6 +2,7 @@ {% from 'components/icon.html' import Icon %} {% from "components/sticky_cta.html" import StickyCTA %} +{% from "task_orders/form_header.html" import TOFormStepHeader %} {% from 'components/upload_input.html' import UploadInput %} {% if task_order_id %} @@ -16,13 +17,6 @@ {% block to_builder_form_field %} -
- {{ 'task_orders.form.supporting_docs_header' | translate }} -
- -
- {{ 'task_orders.form.supporting_docs_text' | translate }} {{ Icon('question')}} -
- + {{ TOFormStepHeader('task_orders.form.supporting_docs_header' | translate, 'task_orders.form.supporting_docs_text' | translate) }} {{ UploadInput(form.pdf, watch=True) }} {% endblock %} diff --git a/templates/task_orders/step_2.html b/templates/task_orders/step_2.html index 38504855..ac270e36 100644 --- a/templates/task_orders/step_2.html +++ b/templates/task_orders/step_2.html @@ -1,6 +1,7 @@ {% extends "task_orders/builder_base.html" %} {% from 'components/text_input.html' import TextInput %} +{% from "task_orders/form_header.html" import TOFormStepHeader %} {% set action = url_for("task_orders.submit_form_step_two_add_number", task_order_id=task_order_id) %} {% set next_button_text = "Next: Add Base CLIN" %} @@ -8,9 +9,6 @@ {% set step = "2" %} {% block to_builder_form_field %} -
- {{ 'task_orders.form.add_to_header' | translate }} -
- + {{ TOFormStepHeader('task_orders.form.add_to_header' | translate, "Lorem ipsem")}} {{ TextInput(form.number, validation='taskOrderNumber', optional=False) }} {% endblock %} diff --git a/templates/task_orders/step_3.html b/templates/task_orders/step_3.html index 30e00ac9..c15533d2 100644 --- a/templates/task_orders/step_3.html +++ b/templates/task_orders/step_3.html @@ -4,6 +4,7 @@ {% from 'components/icon.html' import Icon %} {% from 'components/options_input.html' import OptionsInput %} {% from 'components/text_input.html' import TextInput %} +{% from 'task_orders/form_header.html' import TOFormStepHeader %} {% set action = url_for("task_orders.submit_form_step_three_add_clins", task_order_id=task_order_id) %} {% set next_button_text = "Next: Review Funding" %} @@ -99,16 +100,11 @@ inline-template v-bind:initial-clin-count="{{ form.clins.data | length }}">
-
- {{ 'task_orders.form.cloud_funding_header' | translate }} -
-
- {{ 'task_orders.form.cloud_funding_text' | translate }} -
+ {{ TOFormStepHeader('task_orders.form.base_clin_title' | translate, 'task_orders.form.base_clin_description' | translate, task_order.number) }} - {% for clin in form.clins %} - {{ CLINFields(clin, index=loop.index - 1) }} - {% endfor %} + {% for clin in form.clins %} + {{ CLINFields(clin, index=loop.index - 1) }} + {% endfor %}

diff --git a/templates/task_orders/step_5.html b/templates/task_orders/step_5.html index d6ea4305..e65f57b2 100644 --- a/templates/task_orders/step_5.html +++ b/templates/task_orders/step_5.html @@ -2,6 +2,7 @@ {% from "components/alert.html" import Alert %} {% from "components/checkbox_input.html" import CheckboxInput %} +{% from 'task_orders/form_header.html' import TOFormStepHeader %} {% set action = url_for("task_orders.submit_task_order", task_order_id=task_order_id) %} {% set next_button_text = "Next: Confirm & Submit" %} @@ -9,14 +10,11 @@ {% set step = "5" %} {% block to_builder_form_field %} -
-

Signature confirmation: Task Order #{{task_order.number}}

-
+ {{ TOFormStepHeader("Signature confirmation", "Lorem ipsem", task_order_number) }} {% call Alert('', message="All task orders require a Contracting Officer signature." ) %} - {{ CheckboxInput(form.signature) }} {% endcall %} {% endblock %} diff --git a/translations.yaml b/translations.yaml index fc3dc09e..97e2816e 100644 --- a/translations.yaml +++ b/translations.yaml @@ -339,6 +339,8 @@ task_orders: add_clin: Add another CLIN or Sub-CLIN add_loa: Add another line of accounting add_to_header: Add your task order + base_clin_title: Add Base CLIN + base_clin_description: Next, continue to refer to your document to locate your CLINs (Contract Line Item Numbers). CLINs are how you break the contract down by the commodities being procured (labor hours of services, funding for travel, quantity product A, etc.). clin_number_label: CLIN clin_type_label: CLIN type cloud_funding_header: Add the summary of cloud funding