Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
a4abfb52
Commit
a4abfb52
authored
Sep 20, 2011
by
stef
Committed by
Cynddl
Sep 20, 2011
Browse files
[fix] empty help is not displayed
parent
08643f1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/index.html
View file @
a4abfb52
...
...
@@ -92,7 +92,7 @@ $(document).ready(function(){
{% for field in form %}
{% if field.html_name = 'resource' %}
<div
id=
"show_optionals"
>
{% trans "Provide optional details" %}
</div><div
id=
"optional"
>
{%endif%}
<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"
>
{{ field.errors }}
{{ field.label_tag }} {{ field }}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment