Sha256: 0d765b947108e040facfe13819a9236e871aab894ca74812acf57d1e364e165a

Contents?: true

Size: 773 Bytes

Versions: 2

Compression:

Stored size: 773 Bytes

Contents

<li>
  <%= label_tag klass.name.to_relation_name,
    klass.model_name.human(:count => klass.singular? ? 1 : 2) %>
  <%= text_field_tag "concept[concept_relations_by_id][#{klass.name.to_relation_name}]",
    concept.concept_relations_by_id(klass.name.to_relation_name),
    :id => klass.name.to_relation_name,
    :class => "entity_select",
    :"data-query-url" => concepts_path(:format => :json, :exclude_top_terms => true),
    :"data-entity-uri" => concept_path("{id}"),
    :"data-singular" => klass.singular? || nil,
    :"data-entities" => Iqvoc::Concept.base_class.editor_selectable.
    by_origin(concept.concept_relations_by_id(klass.name.to_relation_name).
      split(Iqvoc::InlineDataHelper::Splitter)).
    map { |c| concept_widget_data(c) }.to_json %>
</li>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iqvoc-3.5.5 app/views/partials/concept/relation/_edit_base.html.erb
iqvoc-3.5.4 app/views/partials/concept/relation/_edit_base.html.erb