Only render help text when set
This commit is contained in:
parent
05baf48498
commit
60bef36f31
1 changed files with 4 additions and 1 deletions
|
|
@ -26,7 +26,10 @@
|
||||||
|
|
||||||
{{ field.errors }}
|
{{ field.errors }}
|
||||||
{{ field }}
|
{{ field }}
|
||||||
{% include "components/form/help-text.html" %}
|
|
||||||
|
{% if field.help_text %}
|
||||||
|
{% include "components/form/help-text.html" %}
|
||||||
|
{% endif %}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue