Sha256: 2a9404c3f16e0cd6279b57d29c119a9d7182aa97932109f4ba7145d47a9acc36
Contents?: true
Size: 622 Bytes
Versions: 19
Compression:
Stored size: 622 Bytes
Contents
<%- fieldname = "concept[concept_relations_by_id][#{klass.name.to_relation_name}]" -%> <%= f.input fieldname, :label => klass.model_name.human(:count => klass.singular? ? 1 : 2) do %> <%= text_field_tag fieldname, widget_values(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(concept, klass) %> <% end %>
Version data entries
19 entries across 19 versions & 1 rubygems