Sha256: 349ecc690ad861e172fa786742c39c3a090734fe5e5822dc755dcb0165dc8b34
Contents?: true
Size: 552 Bytes
Versions: 5
Compression:
Stored size: 552 Bytes
Contents
<div class="relation panel" id="<%= klass.model_name.to_s.to_relation_name %>"> <h2><%= klass.model_name.human(:count => 2) %></h2> <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
5 entries across 5 versions & 1 rubygems