Add route and template for signature confirmation
This commit is contained in:
50
templates/task_orders/step_5.html
Normal file
50
templates/task_orders/step_5.html
Normal file
@@ -0,0 +1,50 @@
|
||||
{% extends "portfolios/base.html" %}
|
||||
|
||||
{% from "components/alert.html" import Alert %}
|
||||
{% from "components/checkbox_input.html" import CheckboxInput %}
|
||||
{% from "components/sticky_cta.html" import StickyCTA %}
|
||||
|
||||
{% block portfolio_content %}
|
||||
{% set action = url_for("task_orders.submit_task_order", 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">
|
||||
{{ form.csrf_token }}
|
||||
|
||||
{% call StickyCTA(text=('task_orders.form.sticky_header_text' | translate )) %}
|
||||
<span class="action-group">
|
||||
<input
|
||||
type="submit"
|
||||
formaction="{{ action }}"
|
||||
tabindex="0"
|
||||
:disabled="!changed"
|
||||
value="Next: Confirm & Submit"
|
||||
form="upload-to-pdf"
|
||||
class="usa-button usa-button-primary">
|
||||
<input
|
||||
type="button"
|
||||
class="usa-button usa-button-secondary"
|
||||
tabindex="0"
|
||||
value="Previous"
|
||||
form="upload-to-pdf"/>
|
||||
<a
|
||||
href="{{ cancel_url }}"
|
||||
class="action-group__action icon-link">
|
||||
{{ "common.cancel" | translate }}
|
||||
</a>
|
||||
</span>
|
||||
{% endcall %}
|
||||
|
||||
<div>
|
||||
<h1>Signature confirmation: <em>Task Order #{{task_order.number}}</em></h1>
|
||||
</div>
|
||||
|
||||
{% call Alert('',
|
||||
message="All task orders require a Contracting Officer signature."
|
||||
) %}
|
||||
|
||||
{{ CheckboxInput(form.signature) }}
|
||||
{% endcall %}
|
||||
</form>
|
||||
</base-form>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user