{% comment %} override of django's built-in input_option, except add |default to nonexistent wrap_label this was discovered when someone couldn't use RadioGridField. I have confirmed that this new version works with RadioGridField {% endcomment %} {% if wrap_label|default:False %}{% endif %}{% include "django/forms/widgets/input.html" %}{% if wrap_label|default:False %} {{ widget.label }}{% endif %}