Merge pull request #600 from dod-ccpo/fix-checkbox-input

Add closing tag to checkbox input
This commit is contained in:
patricksmithdds 2019-02-05 10:32:06 -05:00 committed by GitHub
commit f40a546071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,3 @@
{% macro CheckboxInput(field, inline=False, classes="") -%}
<checkboxinput name='{{ field.name }}' inline-template key='{{ field.name }}'>
<div class='usa-input {{ classes }} {% if field.errors %}usa-input--error{% endif %}'>
@ -11,8 +10,8 @@
{% if field.description %}
<span class='usa-input__help'>{{ field.description | safe }}</span>
{% endif %}
</legend>
</fieldset>
</div>
</checkboxinput>
{%- endmacro %}