<fieldset class="form-group">
<legend class="col-form-label {% if required is defined and required == true %}required{% endif %}">{{ label }}</legend>
{% if notes is defined %}<p class="form-notes text-muted"><small>{{ notes }}</small></p>{% endif %}
<div id="forms_{{ name }}" class="form-check-inline">
{% if na is defined and na == true %}
<div class="form-check">
<input type="radio" id="forms_{{ name }}_0" name="forms[{{ name }}]"
class="form-check-input" value="n/a">
<label class="form-check-label required" for="forms_{{ name }}_0">n/a</label>
</div>
{% endif %}
<div class="form-check">
<input type="radio" id="forms_{{ name }}_2" name="forms[{{ name }}]"
class="form-check-input" value="5"
{% if required is defined and required == true %}required{% endif %}
>
<label class="form-check-label required" for="forms_{{ name }}_2">
{# <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>#}
Yes
</label>
</div>
<div class="form-check">
<input type="radio" id="forms_{{ name }}_1" name="forms[{{ name }}]"
class="form-check-input" value="0"
{% if required is defined and required == true %}required{% endif %}
>
<label class="form-check-label required" for="forms_{{ name }}_1">
{# <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" style="vertical-align: -4px;"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>#}
No
</label>
</div>
<div class="form-check form-check-text">
<input type="radio" id="forms_{{ name }}_clear" name="forms[{{ name }}]"
class="form-check-input" value="">
<label class="form-check-label required" for="forms_{{ name }}_clear" title="Clear selection">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>
</label>
</div>
{% if date is defined and date == true %}
<div>
<input type="date" id="forms_{{ name }}_date" name="forms[{{ name }}_date]" class="form-control">
</div>
{% endif %}
</div>
</fieldset>