Sha256: dabb3375fc051ca4f9d2392b478a1a1eed03b27182d8540383b609e48a0d3a26

Contents?: true

Size: 703 Bytes

Versions: 8

Compression:

Stored size: 703 Bytes

Contents

<div class="calculator-fields">

  <p class="field">
    <%= action_form.label :calculator_type, t(:calculator) %>
    <%= action_form.collection_select :calculator_type, @calculators, :to_s, :description, {}, {:class => 'type-select'} %>
    <% if promotion_action.calculator.respond_to?(:preferences) %>
      &nbsp; <span class="warning"><%= t(:calculator_settings_warning)%></span>
    <% end %>
  </p>

  <% unless promotion_action.new_record? %>
    <div class="settings">
      <%= action_form.fields_for :calculator, promotion_action.calculator do |calculator_form| %>
        <%= preference_fields(promotion_action.calculator, calculator_form) %>
      <% end %>
    </div>
  <% end %>

</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_promo-0.70.7 app/views/admin/promotions/actions/_create_adjustment.html.erb
spree_promo-0.70.6 app/views/admin/promotions/actions/_create_adjustment.html.erb
spree_promo-0.70.5 app/views/admin/promotions/actions/_create_adjustment.html.erb
spree_promo-0.70.4 app/views/admin/promotions/actions/_create_adjustment.html.erb
spree_promo-0.70.3 app/views/admin/promotions/actions/_create_adjustment.html.erb
spree_promo-0.70.2 app/views/admin/promotions/actions/_create_adjustment.html.erb
spree_promo-0.70.1 app/views/admin/promotions/actions/_create_adjustment.html.erb
spree_promo-0.70.0 app/views/admin/promotions/actions/_create_adjustment.html.erb