templates/html/_entry.html.erb in health-data-standards-3.5.2 vs templates/html/_entry.html.erb in health-data-standards-3.5.3
- old
+ new
@@ -42,20 +42,19 @@
</td>
<td>
<%
(entry.attributes.keys.reject {|key| ['codes', 'time', 'description', 'mood_code', 'values', '_id', '_type', 'start_time', 'end_time', 'status_code', 'negationInd', 'oid'].include? key}).sort.each do |field|
field_value = convert_field_to_hash(field, entry.attributes[field])
-
%>
<% if field_value && !field_value.empty? %>
<dl>
<% if field_value.is_a? Hash %>
<dt><b><%= field.titleize %>:</b></dt>
<% field_value.keys.sort.reverse.each do |fieldkey| %>
- <dd><%= fieldkey %>: <i><%= field_value[fieldkey] %></i></dd>
+ <dd><%= fieldkey %>: <i><%== field_value[fieldkey] %></i></dd>
<% end %>
<% else %>
- <dt><b><%= field.titleize %></b>: <%= field_value%></dt>
+ <dt><b><%= field.titleize %></b>: <%== field_value%></dt>
<% end %>
<dl>
<% end %>
<%
end