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='') -%}