* Implement OrganizationInfo form, add it to the template * Format request_new * Update "Details of Use" section * Refactor request_new * Added some new fields, but form is still WIP * Add details of use fields * Add org info fields * Add some comments * Add Financial Verification and more Details of Use fields * Update some textarea fields to single text field * WIP * Implement OrganizationInfo form, add it to the template * Format request_new * Update "Details of Use" section * Refactor request_new * Added some new fields, but form is still WIP * Add details of use fields * Add org info fields * Add some comments * Add Financial Verification and more Details of Use fields * Update some textarea fields to single text field * Format * Update fields with the correct fieldtypes * Begin updating sidenav changes * Split form into each section * adjust and skip some outdated form validation tests * break request form into multiple form objects * need to send user ID to requests-queue * use DateForm for start date in request * alter request_new handler to pass raw form data to template * change review form * Add KO and COR section titles * Update date input class name * Add a special case for the summary form. We should refactor this * Add read-only fields for review and submit section * Add minimum number validators to request form * Fix formatting * Use html5 datepicker for dates * Fix request form validators * Finish org info form * Finish POC form * Finish financial verification form * Move PE and UII to financial form * Un-skip form validation test
81 lines
1.8 KiB
Plaintext
81 lines
1.8 KiB
Plaintext
{% extends '../requests_new.html.to' %}
|
|
|
|
{% block form %}
|
|
|
|
{% autoescape None %}
|
|
{% if f.errors %}
|
|
<b class="usa-input-error-message">There were some errors, see below.</b>
|
|
{% end %}
|
|
|
|
|
|
<h2 id="Information About You">Information About You</h2>
|
|
<p>Please tell us more about yourself.</p>
|
|
|
|
{{ f.fname_request.label }}
|
|
{{ f.fname_request(placeholder="Your first name") }}
|
|
{% for e in f.fname_request.errors %}
|
|
<div class="usa-input-error-message">
|
|
{{ e }}
|
|
</div>
|
|
{% end %}
|
|
|
|
{{ f.lname_request.label }}
|
|
{{ f.lname_request(placeholder="Your last name") }}
|
|
{% for e in f.lname_request.errors %}
|
|
<div class="usa-input-error-message">
|
|
{{ e }}
|
|
</div>
|
|
{% end %}
|
|
|
|
{{ f.email_request.label }}
|
|
{{ f.email_request(placeholder="jane@mail.mil") }}
|
|
{% for e in f.email_request.errors %}
|
|
<div class="usa-input-error-message">
|
|
{{ e }}
|
|
</div>
|
|
{% end %}
|
|
|
|
{{ f.phone_number.label }}
|
|
{{ f.phone_number(placeholder="(123) 456-7890") }}
|
|
{% for e in f.phone_number.errors %}
|
|
<div class="usa-input-error-message">
|
|
{{ e }}
|
|
</div>
|
|
{% end %}
|
|
|
|
{{ f.service_branch.label }}
|
|
{{ f.service_branch(placeholder="i.e. US Air Force, US Army, US Navy, Marine Corps, Defense Media Agency") }}
|
|
{% for e in f.service_branch.errors %}
|
|
<div class="usa-input-error-message">
|
|
{{ e }}
|
|
</div>
|
|
{% end %}
|
|
|
|
<fieldset class="usa-fieldset-inputs">
|
|
{{ f.citizenship.label }}
|
|
{{ f.citizenship(class_="usa-unstyled-list") }}
|
|
{% for e in f.citizenship.errors %}
|
|
<div class="usa-input-error-message">
|
|
{{ e }}
|
|
</div>
|
|
{% end %}
|
|
</fieldset>
|
|
|
|
{{ f.designation.label }}
|
|
{{ f.designation }}
|
|
{% for e in f.designation.errors %}
|
|
<div class="usa-input-error-message">
|
|
{{ e }}
|
|
</div>
|
|
{% end %}
|
|
|
|
{{ f.date_latest_training.label }}
|
|
{{ f.date_latest_training }}
|
|
{% for e in f.date_latest_training.errors %}
|
|
<div class="usa-input-error-message">
|
|
{{ e }}
|
|
</div>
|
|
{% end %}
|
|
|
|
{% end %}
|