{% load bootstrap %}
<div class="form-group{% if field.errors %} has-error{% endif %}">
    {% if field|is_checkbox %}
        <div class="checkbox">
            <label>
                {{ field }} <span>{{ field.label }}</span>
            </label>

            {% for error in field.errors %}
                <span class="help-block">{{ error }}</span>
            {% endfor %}

            {% if field.help_text %}
                <p class="help-block">
                    {{ field.help_text|safe }}
                </p>
            {% endif %}
        </div>
    {% else %}{% if field|is_radio %}
        <label>{{ field.label }}</label>

        <div class="radio">
            {% for choice in field %}
                <label class="radio">
                    {{ choice.tag }}
                    {{ choice.choice_label }}
                </label>
            {% endfor %}

            {% for error in field.errors %}
                <span class="help-block">{{ error }}</span>
            {% endfor %}

            {% if field.help_text %}
            <p class="help-block">
                {{ field.help_text|safe }}
            </p>
            {% endif %}
        </div>

    {% else %}
        <label for="{{ field.auto_id }}">{{ field.label }}</label>

        {{ field }}

        {% for error in field.errors %}
            <span class="help-inline">{{ error }}</span>
        {% endfor %}

        {% if field.help_text %}
            <p class="help-block">
                {{ field.help_text|safe }}
            </p>
        {% endif %}
    {% endif %}{% endif %}
</div>

{% load bootstrap %}
<div class="form-group{% if field.errors %} has-error{% endif %}">
    {% if field|is_checkbox %}
        <div class="checkbox">
            <label>
                {{ field }} <span>{{ field.label }}</span>
            </label>

            {% for error in field.errors %}
                <span class="help-block">{{ error }}</span>
            {% endfor %}

            {% if field.help_text %}
                <p class="help-block">
                    {{ field.help_text|safe }}
                </p>
            {% endif %}
        </div>
    {% else %}{% if field|is_radio %}
        <label class="control-label">{{ field.label }}</label>

        <div class="radio">
            {% for choice in field %}
                <label class="radio">
                    {{ choice.tag }}
                    {{ choice.choice_label }}
                </label>
            {% endfor %}

            {% for error in field.errors %}
                <span class="help-block">{{ error }}</span>
            {% endfor %}

            {% if field.help_text %}
            <p class="help-block">
                {{ field.help_text|safe }}
            </p>
            {% endif %}
        </div>

    {% else %}
        <label class="control-label" for="{{ field.auto_id }}">{{ field.label }}</label>

        {{ field }}

        {% for error in field.errors %}
            <span class="help-inline">{{ error }}</span>
        {% endfor %}

        {% if field.help_text %}
            <p class="help-block">
                {{ field.help_text|safe }}
            </p>
        {% endif %}
    {% endif %}{% endif %}
</div>

Revert control-label since it's used by the has-* functions
Revert control-label since it's used by the has-* functions
