Update optional tag
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<div class="usa-input__title">
|
||||
{{ field.label | striptags }}
|
||||
{% if optional %}
|
||||
<span class="usa-input-label-helper">(optional)</span>
|
||||
<span class="usa-input-label-helper">{{ "common.optional" | translate }}</span>
|
||||
{% endif %}
|
||||
{% if tooltip %}{{ Tooltip(tooltip) }}{% endif %}
|
||||
{% if not field.description %}
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<div class="usa-input__title{% if not field.description %}-inline{% endif %}">
|
||||
{{ field.label | striptags}}
|
||||
{% if optional %}
|
||||
<span class="usa-input-label-helper">(optional)</span>
|
||||
<span class="usa-input-label-helper">{{ "common.optional" | translate }}</span>
|
||||
{% endif %}
|
||||
{% if tooltip %}{{ Tooltip(tooltip) }}{% endif %}
|
||||
</div>
|
||||
|
@@ -40,7 +40,7 @@
|
||||
<div class="usa-input__title">
|
||||
{{ label }}
|
||||
{% if optional and showOptional %}
|
||||
<span class="usa-input-label-helper">(optional)</span>
|
||||
<span class="usa-input-label-helper">{{ "common.optional" | translate }}</span>
|
||||
{% endif %}
|
||||
{% if tooltip and not disabled %}
|
||||
{{ Tooltip(tooltip, tooltip_title) }}
|
||||
|
Reference in New Issue
Block a user