Sha256: 77cbe332ad7f6c5fec38c81ef4888e90713e238684e257af7c625765431d5e67
Contents?: true
Size: 682 Bytes
Versions: 4
Compression:
Stored size: 682 Bytes
Contents
<%- fieldname = "concept[concept_relations_by_id][#{klass.name.to_relation_name}]" -%> <%= f.form_group fieldname, :label => {text: klass.model_name.human(:count => klass.singular? ? 1 : 2)} do %> <%= text_field_tag fieldname, widget_values_ranked(concept, klass), :id => klass.name.to_relation_name, :class => "entity_select", :"data-query-url" => concepts_path(:format => :json, :exclude_top_terms => klass != Iqvoc::Concept.broader_relation_class || nil), :"data-entity-uri" => concept_path("{id}"), :"data-singular" => klass.singular? || nil, :"data-entities" => widget_entities_ranked(concept, klass), :"data-qualified" => "rank" %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems