Sha256: a233d5f4c0fe419fee108766b3feb9418f0c58ab96ce8712b00260edbab52931
Contents?: true
Size: 805 Bytes
Versions: 8
Compression:
Stored size: 805 Bytes
Contents
<% promotion_action = action_form.object %> <div class="promotion_action <%= promotion_action.type.demodulize.underscore %>" id="<%= dom_id promotion_action %>"> <span class="delete"> <%= link_to_with_icon 'cross', '', admin_promotion_promotion_action_path(@promotion, promotion_action), :remote => true, :method => 'delete' %> </span> <% type_name = promotion_action.class.name.demodulize.underscore %> <% param_prefix = "promotion[promotion_actions_attributes][#{promotion_action.id}]" %> <%#= hidden_field_tag "#{param_prefix}[id]", promotion_action.id %> <p><%= t("promotion_action_types.#{type_name}.description") %></p> <%= render "admin/promotions/actions/#{type_name}", :action_form => action_form, :promotion_action => promotion_action, :param_prefix => param_prefix %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems