Sha256: d3f0e2b18a8eca2657256ba56e0814ca39cb3ffca4cf7c5dd246e6dfe997519a
Contents?: true
Size: 750 Bytes
Versions: 34
Compression:
Stored size: 750 Bytes
Contents
<%- hcpath = hierarchical_concepts_path(:format => :json, :published => params[:published], :broader => broader || nil) -%> <ul class="hybrid-treeview" data-url="<%= hcpath %>"> <%- concepts.each do |concept| -%> <%- has_children = broader ? concept.broader_relations.any? : concept.narrower_relations.any? -%> <li class="<%= has_children ? "hasChildren" : "" %>" id="<%= concept.id %>"> <%= link_to(concept.pref_label.to_s, concept_url(:id => concept)) %> <%- if concept.additional_info.present? -%> (<%= concept.additional_info %>) <%- end -%> <%- if has_children -%> <ul> <li><span class="placeholder"> </span></li> </ul> <%- end -%> </li> <%- end -%> </ul>
Version data entries
34 entries across 34 versions & 1 rubygems