% hcpath = hierarchical_concepts_path(:format => :json, :published => params[:published], :broader => broader || nil) unless hcpath %>
<% if dragabble %>
<% else %>
<% end %>
<% concepts.select { |c| can? :read, c }.each do |concept| %>
<% has_children = broader ? concept.broader_relations.any? : concept.narrower_relations.any? %>
- " id="<%= concept.id %>"
data-has-children="<%= (params[:broader] ? concept.broader_relations.any? : concept.narrower_relations.any?) %>"
data-update-url="<%= move_concept_url(concept, format: :json) %>"
data-published="<%= concept.published? %>"
>
<% if concept.published? %>
<%= link_to(concept.pref_label.to_s, concept_url(id: concept)) %>
<% else %>
<%= link_to(concept.pref_label.to_s, concept_url(id: concept, published: 0)) %>
<% end %>
<% if concept.additional_info.present? %>
(<%= concept.additional_info %>)
<% end %>
<% end %>