{% load crispy_forms_filters %}
{% load l10n %}
{% comment %}Based on crispy original, just adds color field special handling.{% endcomment %}
{% include 'bootstrap3/layout/field_errors_block.html' %}
{% for group, options, index in field|optgroups %}
{% if group %}{{ group }}{% endif %}
{% for option in options %}
{% if field.name == "color" %}
{% else %}
{% if not inline_class %}