Update template.njk

Reverting this change
This commit is contained in:
Jonathan Bobel
2025-02-24 15:27:51 -05:00
parent 0fa8c571c8
commit 91c2ae6733

View File

@@ -40,7 +40,7 @@
<input
class="usa-input {%- if params.classes %} {{ params.classes }}{% endif %} {%- if params.errorMessage %} usa-input--error{% endif %}"
id="{{ params.label.text | lower | replace(' ', '-') }}"
name="{{ params.label.text | lower | replace(' ', '-') }}"
name="{{ params.name }}"
type="{{ params.type | default('text') }}"
{%- if params.value %} value="{{ params.value }}"{% endif %}
{%- if describedBy %} aria-describedby="{{ describedBy }}"{% endif %}