mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Cleanup formfield template
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<div class="input">
|
<div class="input">
|
||||||
{% if class %}{{ field|add_class:class }}{% else %}{{ field }}{% endif %}
|
{% if class %}{{ field|add_class:class }}{% else %}{{ field }}{% endif %}
|
||||||
{% if field.help_text %}<span class="help-block">{{ field.help_text }}</span>{% endif %}
|
{% if field.help_text %}<span class="help-block">{{ field.help_text }}</span>{% endif %}
|
||||||
{% if field.errors %}<span class="help-inline">{% for error in field.errors %}{{ error }} {% endfor %}</span>{% endif %}
|
{% if field.errors %}<span class="help-inline">{% for error in field.errors %}{{ error }}{% endfor %}</span>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user