Sha256: 3da8a3ddc79454b82b167e110de7959e59c67015b13b8303a8b4e8d489eed8c2
Contents?: true
Size: 955 Bytes
Versions: 2
Compression:
Stored size: 955 Bytes
Contents
<div class="compound-form"> <% items = Iqvoc::XLLabel.base_class.editor_selectable. by_origin(compound_form.compound_form_contents. map { |cfc| cfc.label.origin }).load %> <% fieldname = "label[inline_compound_form_origins][]" %> <%= f.form_group nil, :label => { :text => t('txt.common.type_to_search') } do %> <%= text_field_tag fieldname, items.map(&:origin).join(InlineDataHelper::JOINER), :class => "entity_select", :"data-query-url" => labels_path(:format => :json), :"data-entity-uri" => label_path("{id}"), :"data-entities" => (not compound_form) ? nil : items. map { |l| label_widget_data(l) }.to_json %> <input type="button" class="btn btn-default add-compound-form" value="<%= t("txt.common.add_note") %>"> <input type="button" class="btn btn-default rm-compound-form" value="<%= t("txt.common.delete") %>"> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iqvoc_compound_forms-2.9.0 | app/views/partials/compound_form/_compound_form.html.erb |
iqvoc_compound_forms-2.8.0 | app/views/partials/compound_form/_compound_form.html.erb |