<% from ||= [] from = Array(from) part_of ||= [] part_of = Array(part_of) other ||= nil direction_class = "" direction_class = " direction-#{direction}" if local_assigns.include?(:direction) %>
<% if from.any? %> <% end %> <% if part_of.any? %> <% end %> <% if local_assigns.include?(:history) %> <% end %> <% if local_assigns.include?(:first_published) && first_published %> <% end %> <% if local_assigns.include?(:last_updated) && last_updated %> <% end %> <% if other.present? %> <% other.each_with_index do |(title, definition), index| %> <% definition ||= [] definition = Array(definition) %> <% if definition.any? %> <% end %> <% end %> <% end %>