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 }}
|
||||
|
||||
{% if field.help_text %}
|
||||
{% include "components/form/help-text.html" %}
|
||||
{% endif %}
|
||||
</fieldset>
|
||||
{% endfor %}
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue