{{ field.renderContainerOpeningTag }}

    {{ field.renderLabel }}
    {{ field.renderInstructions }}
    {% for index, option in field.options %}
        <input type="radio"
            name="{{ field.handle }}"
            value="{{ option.value }}"
            id="{{ field.idAttribute }}-{{ index }}"
            class="form-check-input{{ field.hasErrors ? " freeform-has-errors" }}"
            {{ option.value == field.value ? "checked" }}
        />
        <label class="option-label" for="{{ field.idAttribute }}-{{ index }}">
            <span>{% if field.options|length <= 26 %}{{ range('A','Z')[loop.index0] }}{% else %}{{ range('1','999')[loop.index0] }}{% endif %}</span> {{ option.label|t('freeform')|raw }}
        </label>
    {% endfor %}
    {{ field.renderErrors }}

{{ field.renderContainerClosingTag }}
