Helptext now appears beside a Checkbox/Circle, not as a prargraph below anymore.
This commit is contained in:
@@ -4,7 +4,11 @@
|
|||||||
<div>
|
<div>
|
||||||
<label {% if field.html_name != 'recaptcha' %}for="id_{{ field.html_name}}"{% endif %} class="field_name {{ field.css_classes }}">{{ field.label}}</label>
|
<label {% if field.html_name != 'recaptcha' %}for="id_{{ field.html_name}}"{% endif %} class="field_name {{ field.css_classes }}">{{ field.label}}</label>
|
||||||
{{ field }}
|
{{ field }}
|
||||||
{%if field.help_text %}<p class="help_text">{{field.help_text}}</p>{% endif %}
|
{% if field.help_text and not field.field.widget.input_type %}
|
||||||
|
{{field.help_text}}
|
||||||
|
{% elif field.help_text %}
|
||||||
|
<p class="help_text">{{field.help_text}}</p>
|
||||||
|
{% endif %}
|
||||||
{% if field.errors %}{{ field.errors }}{% endif %}
|
{% if field.errors %}{{ field.errors }}{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user