Begin updating fields

This commit is contained in:
Luis Cielak 2018-07-25 15:12:30 -04:00
parent d861821c3e
commit 15728eb9a0
3 changed files with 41 additions and 1 deletions

View File

@ -9,6 +9,31 @@ import pendulum
class RequestForm(ValidatedForm):
# Details of Use: General
dod_component = StringField(
"DoD Component",
description="Identify the DoD component that is requesting access to the JEDI Cloud",
)
jedi_usage = StringField(
"JEDI Usage",
description="Briefly describe how you are expecting to use the JEDI Cloud",
)
# Details of Use: Cloud Readiness
# Details of Use: Overall Request Details
dollar_value = IntegerField(
"What is the total estimated dollar value of the cloud resources you are requesting using the <a href=\"#\" target=\"_blank\">JEDI CSP Calculator</a>?",

View File

@ -1,5 +1,5 @@
<div class='usa-input {% if errors %}usa-input--error{% end %}'>
<label for={{input.name}}>
<label for={{field.name}}>
{{ label }}
{% if description %}

View File

@ -12,6 +12,19 @@
{% end %}
{% module TextInput(f.dod_component) %}
{% module TextInput(f.jedi_usage) %}
<!-- OLD: -->
<!-- DETAILS OF USE -->
<!-- Overall Request Details -->
@ -26,6 +39,8 @@
</div>
{% end %}
{{ f.num_applications.label }}
{{ f.num_applications(placeholder="Estimated number of applications") }}
{% for e in f.num_applications.errors %}