Form fixes
This commit is contained in:
parent
1efb6cf9a1
commit
e3939dfd09
@ -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,
|
||||
|
@ -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 }}'>
|
||||
</textarea>
|
||||
@ -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 %}
|
||||
|
||||
<input type='hidden' v-bind:value='rawValue' name='{{ field.name }}' />
|
||||
<input
|
||||
type='hidden'
|
||||
v-bind:value='rawValue'
|
||||
{% if not disabled %}
|
||||
name='{{ field.name }}'
|
||||
{% endif %}
|
||||
/>
|
||||
|
||||
<template v-if='showError'>
|
||||
<span class='usa-input__message' v-html='validationError'></span>
|
||||
|
@ -42,7 +42,7 @@
|
||||
</button>
|
||||
|
||||
<a
|
||||
href="{{ request.referrer or url_for("atst.home") }}"
|
||||
href="{{ url_for("portfolios.ko_review", portfolio_id=portfolio_id, task_order_id=task_order_id) }}"
|
||||
class="action-group__action icon-link">
|
||||
{{ Icon('caret_left') }}
|
||||
<span class="icon icon--x"></span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user