<% if entry.references.present? -%> <% entry.references.each do |reference| resolved_reference = reference.resolve_reference %> <% if reference.type == "fulfills" %> <% end %> <% end %> <% end -%>