{% if field.errors %} <div class="alert alert-danger col-sm-offset-2 col-sm-10" role="alert"> {{ field.errors }} </div> {% endif %} <label for="{{ field.id_for_label }}" class="col-sm-2 control-label">{{ field.label }}{% if field.field.required %} *{% endif %}</label> <div class="col-sm-10"> {{ field }} {% if field.help_text %} <span class="help_text">{{ field.help_text|safe }}</span> {% endif %} </div>