diff options
Diffstat (limited to 'app/views/versions')
-rw-r--r-- | app/views/versions/_overview.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/versions/_overview.html.erb b/app/views/versions/_overview.html.erb index b97c51560..aea77af12 100644 --- a/app/views/versions/_overview.html.erb +++ b/app/views/versions/_overview.html.erb @@ -7,8 +7,8 @@ <p><%=h version.description %></p> <% if version.custom_values.any? %> <ul> - <% version.custom_values.each do |custom_value| %> - <% if !custom_value.value.blank? %> + <% version.custom_field_values.each do |custom_value| %> + <% if custom_value.value.present? %> <li><%=h custom_value.custom_field.name %>: <%=h show_value(custom_value) %></li> <% end %> <% end %> |