{% load widget_tweaks village_tags %}
<fieldset class="village-fieldset{% if field.errors %} village-fieldset--error{% endif %}"
          id="radio-{{ field.auto_id }}"
          aria-labelledby="{{ field.auto_id }}-legend{% if field.errors %} {{ field.auto_id }}-messages{% endif %}">
  <legend class="village-fieldset__legend facile-text--regular"
          id="{{ field.auto_id }}-legend">
    {{ field.label_tag }}
    {% if field.field.required %}
      *
    {% endif %}
    {% if field.help_text %}
      <span class="village-hint-text">{{ field.help_text }}</span>
    {% endif %}
  </legend>
  <div class="village-fieldset__content">
    <div class="village-radio-group">
      {% if field.field.disabled %}
        {{ field|village_input_class_attr|attr:"type:radio"|attr:"disabled" }}
      {% else %}
        {{ field|village_input_class_attr|attr:"type:radio" }}
      {% endif %}
    </div>
  </div>
  {% if field.errors %}
    <div class="village-messages-group" id="{{ field.auto_id }}-messages">
      {{ field.errors }}
    </div>
  {% endif %}
</fieldset>
