Sha256: 285c8491d0d837cabadec4c1576d6974bdace5366a201244eb3d24693e2f353d

Contents?: true

Size: 634 Bytes

Versions: 4

Compression:

Stored size: 634 Bytes

Contents

<%- fieldname = "concept[concept_relations_by_id][#{klass.name.to_relation_name}]" -%>
<%= f.form_group nil, :label => { :text => 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

4 entries across 4 versions & 1 rubygems

Version Path
iqvoc-4.5.2 app/views/partials/concept/relation/_edit_base.html.erb
iqvoc-4.5.1 app/views/partials/concept/relation/_edit_base.html.erb
iqvoc-4.5.0 app/views/partials/concept/relation/_edit_base.html.erb
iqvoc-4.4.0 app/views/partials/concept/relation/_edit_base.html.erb