Sha256: e22d1561f023fb02db7a177d4cff06dcd5bdd18f032e2d1ec44192fa021c07fc
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 Bytes
Contents
<div class="relation" id="<%= klass.model_name.to_relation_name %>"> <h4><%= klass.model_name.human(:count => 2) %></h4> <div class="relation-body"> <%- items = klass.where(:target_id => concept.id).includes(:target).order("rank DESC") items = items.merge(Iqvoc::Concept.base_class.published) if params[:published] != "0" -%> <%= item_listing(items) do |rel| link_to("#{rel.owner.pref_label} (#{rel.rank})", concept_path(:lang => rel.owner.pref_label.language, :id => rel.owner)) end %> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iqvoc-3.5.7 | app/views/partials/concept/relation/_ranked.html.erb |