Commit 0d5c768f authored by stef's avatar stef
Browse files

[fix] empty help is not displayed

parent 2bd62eca
...@@ -92,7 +92,7 @@ $(document).ready(function(){ ...@@ -92,7 +92,7 @@ $(document).ready(function(){
{% for field in form %} {% for field in form %}
{% if field.html_name = 'resource' %}<div id="show_optionals">{% trans "Provide optional details" %}</div><div id="optional">{%endif%} {% if field.html_name = 'resource' %}<div id="show_optionals">{% trans "Provide optional details" %}</div><div id="optional">{%endif%}
<div class="fieldWrapper"> <div class="fieldWrapper">
<span class="help_text">{{ field.help_text }}</span> {% if field.help_text %}<span class="help_text">{{ field.help_text }}</span>{% endif %}
<span class="innerfield"> <span class="innerfield">
{{ field.errors }} {{ field.errors }}
{{ field.label_tag }} {{ field }} {{ field.label_tag }} {{ field }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment