Sha256: eae81c59fb4cad40f4c729dc383ed4589d3c059c70c80e64a9748b48078226e9
Contents?: true
Size: 900 Bytes
Versions: 35
Compression:
Stored size: 900 Bytes
Contents
<div class="promotion_action promotion-block <%= promotion_action.type.to_s.demodulize.underscore %> card mb-3" id="<%= dom_id promotion_action %>"> <% type_name = promotion_action.class.name.demodulize.underscore %> <div class="card-header d-flex justify-content-between"> <%= link_to_with_icon 'delete', '', spree.admin_promotion_promotion_action_path(@promotion, promotion_action), remote: true, method: :delete, class: 'delete order-2' %> <h3 class="card-title h5 mb-0 promotion-title"><%= Spree.t("promotion_action_types.#{type_name}.description") %></h3> </div> <% param_prefix = "promotion[promotion_actions_attributes][#{promotion_action.id}]" %> <%= hidden_field_tag "#{param_prefix}[id]", promotion_action.id %> <%= render partial: "spree/admin/promotions/actions/#{type_name}", locals: { promotion_action: promotion_action, param_prefix: param_prefix } %> </div>
Version data entries
35 entries across 35 versions & 1 rubygems