Sha256: 91cb250d3943e1db7975bd8906359c8099adf69b7c1431c6bffb8d34fdbfa34f

Contents?: true

Size: 665 Bytes

Versions: 3

Compression:

Stored size: 665 Bytes

Contents

<div class="relation panel" id="<%= Iqvoc::Concept.broader_relation_class.narrower_class.name.to_relation_name %>">
  <h2><%= Iqvoc::Concept.broader_relation_class.narrower_class.model_name.human(:count => 2) %></h2>
  <div class="relation-body">
    <% if concept.narrower_relations.any? %>
      <div class="selector">
        <% if(params[:published] == '0') %>
          <%= treeview(concept.narrower_relations.published_with_newer_versions.map(&:target).sort_by(&:pref_label)) %>
        <% else %>
          <%= treeview(concept.narrower_relations.published.map(&:target).sort_by(&:pref_label)) %>
        <% end %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
iqvoc-4.14.5 app/views/partials/concept/relation/skos/_narrower.html.erb
iqvoc-4.14.4 app/views/partials/concept/relation/skos/_narrower.html.erb
iqvoc-4.13.2 app/views/partials/concept/relation/skos/_narrower.html.erb