I work for the implementation of bootstrap 3 encountered a problem in the forms.
<form class="form-horizontal" action="" method="post">
{% csrf_token %}
{% for field in form %}
<div class="form-group {% if field.errors %} error{% endif %}{% if field.required %} required{% endif %}">
<label class="col-sm-2 control-label" for="{{ field.id_for_label }}">{{ field.label_tag }}</label>
{{ field }}
{% for error in field.errors %}
<p class="help-block">{{ error }}</p>
{% endfor %}
</div>
{% endfor %}
</form>
input has no class = "form-control" so the form is not displayed correctly. How to fix it?