Sha256: 3a306d5d0dfa3f7c03b2c92d305d4a8b3d382822b1c2e718a185bb43d9ebfcc6

Contents?: true

Size: 628 Bytes

Versions: 4

Compression:

Stored size: 628 Bytes

Contents

<div class="relation">
  <h4><%= Iqvoc::Concept.broader_relation_class.model_name.human(:count => 2) %></h4>
  <div class="relation-body block">
    <% if concept.top_term? %>
      <strong><%= concept.class.human_attribute_name("top_term") %></strong>
    <% end %>

    <% if concept.related_concepts_for_relation_class(
        Iqvoc::Concept.broader_relation_class, params[:published] != "0").
        length > 0 %>
      <div class="selector">
        <%= treeview(@concept.broader_relations.map { |rel| rel.target }, true) %>
      </div>
    <% elsif not concept.top_term? %>
      <p>-</p>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iqvoc-3.5.7 app/views/partials/concept/relation/skos/broader/_poly.html.erb
iqvoc-3.5.6 app/views/partials/concept/relation/skos/broader/_poly.html.erb
iqvoc-3.5.5 app/views/partials/concept/relation/skos/broader/_poly.html.erb
iqvoc-3.5.4 app/views/partials/concept/relation/skos/broader/_poly.html.erb