Sha256: 64611a44fd2dfa5e52da523ce04890c88aa451f152662392b81609a1f630f393

Contents?: true

Size: 613 Bytes

Versions: 4

Compression:

Stored size: 613 Bytes

Contents

<% fieldname = "label[inline_#{klass.name.to_relation_name}]" %>
<%= f.form_group nil, :label => { :text => klass.model_name.human(:count => 2) } do %>
  <%= text_field_tag fieldname, label.send("inline_#{klass.name.to_relation_name}"),
    :id => klass.name.to_relation_name,
    :class => "entity_select",
    :"data-query-url" => labels_path(:format => :json),
    :"data-entity-uri" => label_path("{id}"),
    :"data-entities" => Iqvoc::XLLabel.base_class.editor_selectable.
        by_origin(label.send("inline_#{klass.name.to_relation_name}")).
        map { |l| label_widget_data(l) }.to_json %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iqvoc_skosxl-2.8.0 app/views/partials/label/relation/_edit_base.html.erb
iqvoc_skosxl-2.7.0 app/views/partials/label/relation/_edit_base.html.erb
iqvoc_skosxl-2.6.0 app/views/partials/label/relation/_edit_base.html.erb
iqvoc_skosxl-2.5.0 app/views/partials/label/relation/_edit_base.html.erb