Only render help text when set

This commit is contained in:
sonny 2020-07-27 20:48:32 +02:00
parent 05baf48498
commit 60bef36f31

View file

@ -26,7 +26,10 @@
{{ field.errors }} {{ field.errors }}
{{ field }} {{ field }}
{% if field.help_text %}
{% include "components/form/help-text.html" %} {% include "components/form/help-text.html" %}
{% endif %}
</fieldset> </fieldset>
{% endfor %} {% endfor %}
</section> </section>