Sha256: 588cb988ed45363aa959a1ac55d8370e43f338be22b992b48a1154a768246701

Contents?: true

Size: 601 Bytes

Versions: 6

Compression:

Stored size: 601 Bytes

Contents

<% fieldname = "label[inline_#{klass.name.to_relation_name}]" %>
<%= f.input fieldname, :label => 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

6 entries across 6 versions & 1 rubygems

Version Path
iqvoc_skosxl-2.3.1 app/views/partials/label/relation/_edit_base.html.erb
iqvoc_skosxl-2.3.0 app/views/partials/label/relation/_edit_base.html.erb
iqvoc_skosxl-2.1.0 app/views/partials/label/relation/_edit_base.html.erb
iqvoc_skosxl-2.0.2 app/views/partials/label/relation/_edit_base.html.erb
iqvoc_skosxl-2.0.1 app/views/partials/label/relation/_edit_base.html.erb
iqvoc_skosxl-2.0.0 app/views/partials/label/relation/_edit_base.html.erb