forked from DGNum/gestioCOF
14 lines
427 B
HTML
14 lines
427 B
HTML
{% load widget_tweaks %}
|
|
|
|
<div class="form-group">
|
|
<label for="{{ field.id_for_label }}" class="col-sm-2 control-label">{{ field.label }}</label>
|
|
<div class="col-sm-10">
|
|
{{ field|add_class:'form-control' }}
|
|
{% if field.errors %}
|
|
<span class="help-block">{{field.errors}}</span>
|
|
{% endif %}
|
|
{% if field.help_text %}
|
|
<span class="help-block">{{field.help_text}}</span>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|