app/views/partials/concept/relation/skos/broader/_mono.html.erb
<div class="relation panel" id="<%= Iqvoc::Concept.broader_relation_class.name.to_relation_name %>">
<h2><%= Iqvoc::Concept.broader_relation_class.model_name.human(:count => 2) %></h2>
<div class="relation-body">
<% if concept.top_term? %>
<%= concept.class.human_attribute_name("top_term") %>
<% end %>
<%-
only_published = params[:published] != "0"
related_concepts = concept.related_concepts_for_relation_class(
Iqvoc::Concept.broader_relation_class, only_published)
-%>
<% if related_concepts.any? %>
<div class="selector">
<% parent = related_concepts.first
parents = []
while (parent && !parents.include?(parent))
parents << parent
parent = parent.related_concepts_for_relation_class(
Iqvoc::Concept.broader_relation_class, only_published).first
end %>
<%= parents.map { |concept|
render concept.class.inline_partial_name, :concept => concept
}.join(" « ").html_safe %>
</div>
<% end %>
</div>
</div>