Strip out html to remove markup label

This commit is contained in:
luis cielak
2018-08-09 10:28:23 -04:00
parent e981ef917a
commit 2193c03c06
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
<fieldset class="usa-input__choices {% if inline %}usa-input__choices--inline{% endif %}">
<legend>
{{ field.label }}
{{ field.label | striptags}}
{% if field.description %}
<span class='usa-input__help'>{{ field.description | safe }}</span>
@@ -26,4 +26,7 @@
</fieldset>
</div>
{%- endmacro %}