Remove whitespace by using elif

This commit is contained in:
Ludovic Stephan 2017-03-31 23:54:38 -03:00
parent 49c84076de
commit cf03fba1cc

View file

@ -6,7 +6,7 @@
{{ field|add_class:'form-control' }} {{ field|add_class:'form-control' }}
{% if field.errors %} {% if field.errors %}
<span class="help-block">{{field.errors}}</span> <span class="help-block">{{field.errors}}</span>
{% else %} {% elif field.help_text %}
<span class="help-block">{{field.help_text}}</span> <span class="help-block">{{field.help_text}}</span>
{% endif %} {% endif %}
</div> </div>