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
0d5c768f
Commit
0d5c768f
authored
Sep 20, 2011
by
stef
Browse files
[fix] empty help is not displayed
parent
2bd62eca
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/index.html
View file @
0d5c768f
...
...
@@ -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