<div class="form-group">
    {% include "rest_framework/fields/horizontal/label.html" %}
    <div class="col-sm-10">
    {% if field.style.inline %}
        {% for key, text in field.choices.items %}
            <label class="radio-inline">
                <input type="radio" name="{{ field.field_name }}" value="{{ key }}" {% if key == field.value %}checked{% endif %}>
                {{ text }}
            </label>
        {% endfor %}
    {% else %}
        {% for key, text in field.choices.items %}
            <div class="radio">
                <label>
                    <input type="radio" name="{{ field.field_name }}" value="{{ key }}" {% if key == field.value %}checked{% endif %}>
                    {{ text }}
                </label>
            </div>
        {% endfor %}
    {% endif %}
    </div>
</div>
