Financial verification form rendering

This commit is contained in:
richard-dds
2018-08-01 16:25:08 -04:00
parent fbe5137188
commit 2618d92e12
8 changed files with 51 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
{% extends "../base.html.to" %}
{% extends "base.html" %}
{% block content %}
@@ -14,15 +14,15 @@
</div>
{% block form_action %}
<form method='POST' action="{{ reverse_url('financial_verification', request_id) }}" autocomplete="off">
{% end %}
<form method='POST' action="{{ url_for('requests.financial_verification', request_id=request_id) }}" autocomplete="off">
{% endblock %}
{% module xsrf_form_html() %}
{{ f.csrf_token }}
{% block form %}
{% autoescape None %}
{% autoescape false %}
{% if f.errors %}
<b class="usa-input-error-message">There were some errors, see below.</b>
{% end %}
{% endif %}
<p>In order to get you access to the JEDI Cloud, we will need you to enter the details below that will help us verify and account for your Task Order.</p>
@@ -32,7 +32,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.uii_ids.label }}
{{ f.uii_ids(placeholder="Example: \nDI 0CVA5786950 \nUN1945326361234786950") }}
@@ -40,7 +40,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.pe_id.label }}
{{ f.pe_id(placeholder="Example: 0203752A") }}
@@ -48,7 +48,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.treasury_code.label }}
{{ f.treasury_code(placeholder="Example: 1200") }}
@@ -56,7 +56,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.ba_code.label }}
{{ f.ba_code(placeholder="Example: 02") }}
@@ -64,7 +64,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
<!-- KO Information -->
@@ -76,7 +76,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.lname_co.label }}
{{ f.lname_co(placeholder="Contracting Officer last name") }}
@@ -84,7 +84,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.email_co.label }}
{{ f.email_co(placeholder="jane@mail.mil") }}
@@ -92,7 +92,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.office_co.label }}
{{ f.office_co(placeholder="Example: WHS") }}
@@ -100,7 +100,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
<!-- COR Information -->
@@ -113,7 +113,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.lname_cor.label }}
{{ f.lname_cor(placeholder="Contracting Officer Representative last name") }}
@@ -121,7 +121,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.email_cor.label }}
{{ f.email_cor(placeholder="jane@mail.mil") }}
@@ -129,7 +129,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.office_cor.label }}
{{ f.office_cor(placeholder="Example: WHS") }}
@@ -137,7 +137,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
<br><hr>
<em>&darr; FIELDS NEEDED FOR MANUAL ENTRY OF TASK ORDER INFORMATION (only necessary if EDA info not available)</em>
@@ -149,7 +149,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.funding_type_other.label }}
{{ f.funding_type_other(placeholder="") }}
@@ -157,7 +157,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.clin_0001.label }}
{{ f.clin_0001(placeholder="50,000") }}
@@ -165,7 +165,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.clin_0003.label }}
{{ f.clin_0003(placeholder="13,000") }}
@@ -173,7 +173,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.clin_1001.label }}
{{ f.clin_1001(placeholder="30,000") }}
@@ -181,7 +181,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.clin_1003.label }}
{{ f.clin_1003(placeholder="7,000") }}
@@ -189,7 +189,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.clin_2001.label }}
{{ f.clin_2001(placeholder="30,000") }}
@@ -197,7 +197,7 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% endfor %}
{{ f.clin_2003.label }}
{{ f.clin_2003(placeholder="7,000") }}
@@ -205,15 +205,16 @@
<div class="usa-input-error-message">
{{ e }}
</div>
{% end %}
{% end %}
{% endfor %}
{% endautoescape %}
{% endblock form %}
{% block next %}
<input type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
{% end %}
{% endblock %}
</form>
</div>
</div>
</div>
{% end %}
{% endblock %}

View File

@@ -22,7 +22,7 @@
{% end %}
{% end %}
{% module xsrf_form_html() %}
{{ form.csrf_token }}
{% block form %}
form goes here
{% end %}