{% include "rest_framework/fields/horizontal/label.html" %}
{% if field.style.inline %} {% for key, text in field.choices.items %} {% endfor %} {% else %} {% for key, text in field.choices.items %}
{% endfor %} {% endif %}