Sha256: ca34b8b373c2fc5c4be8a9a29db8cc89576e1e669ba70103b0ab82c0735a1773

Contents?: true

Size: 656 Bytes

Versions: 28

Compression:

Stored size: 656 Bytes

Contents

<%= content_tag :div,
  class: node_editor.css_classes,
  data: node_editor.data_attributes do %>
  <%= element_form.fields_for(:ingredients, node_editor.ingredient) do |f| %>
    <%= ingredient_label(node_editor, :node_id) %>
    <%= render Alchemy::Admin::NodeSelect.new(node_editor.node, url: alchemy.api_nodes_path(language_id: node_editor.page&.language_id, include: :ancestors), query_params: node_editor.settings.fetch(:query_params, {})) do %>
      <%= f.text_field :node_id,
        value: node_editor.node&.id,
        id: node_editor.form_field_id(:node_id),
        class: 'alchemy_selectbox full_width' %>
    <% end %>
  <% end %>
<% end %>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
alchemy_cms-7.3.4 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.3.3 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.3.2 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.2.7 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.3.1 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.3.0 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.2.6 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.2.5 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.1.12 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.2.4 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.1.11 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.2.3 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.1.10 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.2.2 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.1.9 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.2.1 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.1.8 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.1.7 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.1.6 app/views/alchemy/ingredients/_node_editor.html.erb
alchemy_cms-7.1.5 app/views/alchemy/ingredients/_node_editor.html.erb