diff --git a/atst/forms/request.py b/atst/forms/request.py index fb179587..3b6e5904 100644 --- a/atst/forms/request.py +++ b/atst/forms/request.py @@ -26,9 +26,6 @@ class RequestForm(ValidatedForm): jedi_usage = TextAreaField( "JEDI Usage", description="Briefly describe how you are expecting to use the JEDI Cloud", - render_kw={ - "placeholder": "e.g. We are migrating XYZ application to the cloud so that..." - }, ) # Details of Use: Cloud Readiness diff --git a/styles/elements/_inputs.scss b/styles/elements/_inputs.scss index eff35e34..89261689 100644 --- a/styles/elements/_inputs.scss +++ b/styles/elements/_inputs.scss @@ -71,7 +71,7 @@ @include line-max; position: relative; - .icon { + .icon-validation { position: absolute; left: 100%; top: 100%; diff --git a/styles/elements/_tooltip.scss b/styles/elements/_tooltip.scss index 4bbeecd9..afc4f625 100644 --- a/styles/elements/_tooltip.scss +++ b/styles/elements/_tooltip.scss @@ -109,5 +109,5 @@ } .tooltip-wrapper { - + // display: none; } \ No newline at end of file diff --git a/templates/components/options_input.html b/templates/components/options_input.html index dbd01947..5cdf0351 100644 --- a/templates/components/options_input.html +++ b/templates/components/options_input.html @@ -12,7 +12,7 @@ {% endif %} {% if field.errors %} - {{ Icon('alert') }} + {{ Icon('alert') }} {% endif %} diff --git a/templates/components/text_input.html b/templates/components/text_input.html index 80c24ec2..9160f498 100644 --- a/templates/components/text_input.html +++ b/templates/components/text_input.html @@ -1,15 +1,16 @@ {% from "components/icon.html" import Icon %} +{% from "components/tooltip.html" import Tooltip %} -{% macro TextInput(field, placeholder='') -%} +{% macro TextInput(field, tooltip='', placeholder='') -%}
{{ field(placeholder=placeholder) | safe }} diff --git a/templates/components/tooltip.html b/templates/components/tooltip.html index e6535c6e..7e27d397 100644 --- a/templates/components/tooltip.html +++ b/templates/components/tooltip.html @@ -2,7 +2,7 @@ {% macro Tooltip(message) -%} - + {{ Icon('help') }} diff --git a/templates/requests/screen-1.html b/templates/requests/screen-1.html index 7dbfb367..a285ba10 100644 --- a/templates/requests/screen-1.html +++ b/templates/requests/screen-1.html @@ -23,7 +23,7 @@

General

{{ TextInput(f.dod_component) }} -{{ TextInput(f.jedi_usage,placeholder="e.g. We are migrating XYZ application to the cloud so that...") }} +{{ TextInput(f.jedi_usage,placeholder="e.g. We are migrating XYZ application to the cloud so that...",tooltip="Your answer will help us provide tangible examples to DoD leadership how and why commercial cloud resources are accelerating the Departments missions.
Please tell us more about what the systems / applications you are working with and why the cloud is a good place to host these applications.") }}

Cloud Readiness

{{ TextInput(f.num_software_systems,placeholder="Number of systems") }}