Sha256: 6b2d34495d82e809b7595412e87498735bb94b96b013fe08f513b2b26b376670

Contents?: true

Size: 557 Bytes

Versions: 23

Compression:

Stored size: 557 Bytes

Contents

<%= content_tag :div,
  class: page_editor.css_classes,
  data: page_editor.data_attributes do %>
  <%= element_form.fields_for(:ingredients, page_editor.ingredient) do |f| %>
    <%= ingredient_label(page_editor, :page_id) %>
    <%= render Alchemy::Admin::PageSelect.new(page_editor.page, allow_clear: true, query_params: page_editor.settings[:query_params]) do %>
      <%= f.text_field :page_id,
        value: page_editor.page&.id,
        id: page_editor.form_field_id(:page_id),
        class: 'full_width' %>
      <% end %>
    <% end %>
<% end %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
alchemy_cms-7.1.0.pre.rc1 app/views/alchemy/ingredients/_page_editor.html.erb
alchemy_cms-7.1.0.pre.b2 app/views/alchemy/ingredients/_page_editor.html.erb
alchemy_cms-7.1.0.pre.b1 app/views/alchemy/ingredients/_page_editor.html.erb