mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
Adding a hint area if needed, removing test code
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
{% set describedBy = params.describedBy if params.describedBy else "" %}
|
{% set describedBy = params.describedBy if params.describedBy else "" %}
|
||||||
<div class="usa-form-group">
|
<div class="usa-form-group">
|
||||||
<label class="usa-label" for="{{ params.name }}">{{params.label}}</label>
|
<label class="usa-label" for="{{ params.name }}">{{params.label}}</label>
|
||||||
|
{% if params.hint %}
|
||||||
|
<div class="usa-hint" id="{{ params.describedBy }}">{{ params.hint }}</div>
|
||||||
|
{% endif %}
|
||||||
<select class="usa-select {%- if params.classes %} {{ params.classes }}{% endif %}" id="{{ params.id }}" name="{{ params.name }}"
|
<select class="usa-select {%- if params.classes %} {{ params.classes }}{% endif %}" id="{{ params.id }}" name="{{ params.name }}"
|
||||||
{%- if params.value %} value="{{ params.value}}"{% endif %}
|
{%- if params.value %} value="{{ params.value}}"{% endif %}
|
||||||
{%- if describedBy %} aria-describedby="{{ describedBy }}"{% endif %}
|
{%- if describedBy %} aria-describedby="{{ describedBy }}"{% endif %}
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ Set up your profile
|
|||||||
"id": "time-zone",
|
"id": "time-zone",
|
||||||
"name": "time-zone",
|
"name": "time-zone",
|
||||||
"label": "Time zone",
|
"label": "Time zone",
|
||||||
"errorMessage": "Oh no!",
|
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"value": "",
|
"value": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user