 %}
      {{ field|addcssclass:"form-control-file" }}
    {% else %}
      {{ field|addcssclass:"form-control" }}
    {% endif %}
  {% endif %}
  {% for error in field.errors %}
    <div class="help-block text-danger">{{ error }}</div>
  {% endfor %}
  <small class="help-block">
    {% if field.help_text %}
      <i class="fa fa-info-circle"></i> {{ field.help_text | safe }}
    {% endif %}</small>
</div>
