diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-08-18 07:05:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-08-18 07:05:25 +0000 |
commit | b4c091d063d0205b1989cea7b643c9b04ba96ccc (patch) | |
tree | 6405a4d5b6746dddecb81bfe89a17723d463dda4 /app/views/issues | |
parent | d00c5f06d9060b73bbbed0ad5cd28869b0ea06c3 (diff) | |
download | redmine-b4c091d063d0205b1989cea7b643c9b04ba96ccc.tar.gz redmine-b4c091d063d0205b1989cea7b643c9b04ba96ccc.zip |
Don't render empty divs when there are no custom fields on the issue form (#20501).
git-svn-id: http://svn.redmine.org/redmine/trunk@14512 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/_form_custom_fields.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/issues/_form_custom_fields.html.erb b/app/views/issues/_form_custom_fields.html.erb index 6182c28f6..2e12c00e8 100644 --- a/app/views/issues/_form_custom_fields.html.erb +++ b/app/views/issues/_form_custom_fields.html.erb @@ -1,4 +1,5 @@ <% custom_field_values = @issue.editable_custom_field_values %> +<% if custom_field_values.present? %> <div class="splitcontent"> <div class="splitcontentleft"> <% i = 0 %> @@ -12,3 +13,4 @@ <% end -%> </div> </div> +<% end %> |