diff --git a/atst/routes/task_orders/signing.py b/atst/routes/task_orders/signing.py index 61993928..e6251de3 100644 --- a/atst/routes/task_orders/signing.py +++ b/atst/routes/task_orders/signing.py @@ -27,6 +27,7 @@ def signature_requested(task_order_id): return render_template( "task_orders/signing/signature_requested.html", task_order_id=task_order.id, + portfolio_id=task_order.portfolio_id, form=SignatureForm(), ) @@ -68,6 +69,7 @@ def record_signature(task_order_id): render_template( "task_orders/signing/signature_requested.html", task_order_id=task_order_id, + portfolio_id=task_order.portfolio_id, form=form, ), 400, diff --git a/templates/components/text_input.html b/templates/components/text_input.html index 553f4574..b2341e7f 100644 --- a/templates/components/text_input.html +++ b/templates/components/text_input.html @@ -55,7 +55,9 @@ v-on:input='onInput' v-on:change='onChange' v-bind:value='value' + {% if not disabled %} id='{{ field.name }}' + {% endif %} ref='input' placeholder='{{ placeholder }}'> @@ -71,11 +73,12 @@ v-bind:pipe='pipe' v-bind:keep-char-positions='keepCharPositions' v-bind:aria-invalid='showError' - id='{{ field.name }}' type='text' {% if disabled %} disabled="disabled" readonly="readonly" + {% else %} + id='{{ field.name }}' {% endif %} ref='input' placeholder='{{ placeholder }}'> @@ -83,7 +86,13 @@ {% endif %} - +