1. Steve Losh
  2. noodle-bucket

Source

noodle-bucket / templates / aardvark / fields / radio.html

<label>{{ label }} {{ field.errors }}</label>
<ul class="fields">
    {% for choice in field.field.choices %}
        <li>
            <label>
            <input type="radio" class="radio"
                   name="{{ field.html_name }}"
                   value="{{ choice.0 }}"
                   {% ifequal selected choice.0 %}checked="checked"{% endifequal %} />
            {{ choice.1 }}
            </label>
        </li>
    {% endfor %}
</ul>
{% if field.help_text %}
    <p class="form-help-text">{{ field.help_text }}</p>
{% endif %}