Sha256: 2544b4c5a319c5a8406fbebcfb5708174b187c0256318f4a1d6de4cf887315e2

Contents?: true

Size: 656 Bytes

Versions: 7

Compression:

Stored size: 656 Bytes

Contents

<alchemy-action name="closeCurrentDialog"></alchemy-action>
<alchemy-action name="reloadPreview"></alchemy-action>
<% if @ingredient.settings[:anchor] %>
<alchemy-action name="updateAnchorIcon" params="<%= [@ingredient.id, @ingredient.dom_id.present?].to_json %>"></alchemy-action>
<% end %>
<% if @ingredient.type == "Alchemy::Ingredients::Picture" && @ingredient.css_class.present? %>
  <%= turbo_stream.replace_all "[data-ingredient-id='#{@ingredient.id}'] .picture_ingredient_css_class",
    partial: "alchemy/ingredients/shared/picture_css_class",
    locals: {
      css_class: Alchemy::IngredientEditor.new(@ingredient).css_class
    } %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-7.4.0 app/views/alchemy/admin/ingredients/update.turbo_stream.erb
alchemy_cms-7.3.5 app/views/alchemy/admin/ingredients/update.turbo_stream.erb
alchemy_cms-7.3.4 app/views/alchemy/admin/ingredients/update.turbo_stream.erb
alchemy_cms-7.3.3 app/views/alchemy/admin/ingredients/update.turbo_stream.erb
alchemy_cms-7.3.2 app/views/alchemy/admin/ingredients/update.turbo_stream.erb
alchemy_cms-7.3.1 app/views/alchemy/admin/ingredients/update.turbo_stream.erb
alchemy_cms-7.3.0 app/views/alchemy/admin/ingredients/update.turbo_stream.erb