<div class="form-group">
    {% include "rest_framework/fields/horizontal/label.html" %}
    <div class="col-sm-10">
        <input type="{{ input_type }}" class="form-control" {% include "rest_framework/fields/attrs.html" %} {% if field.value %}value="{{ field.value }}"{% endif %}>
        {% if field.help_text %}<p class="help-block">{{ field.help_text }}</p>{% endif %}
    </div>
</div>
