Sha256: f4f34bf60f79b54d8d31b54bd7c646c9c1aebb7553debc21d3cf2a6582b55ee4

Contents?: true

Size: 633 Bytes

Versions: 4

Compression:

Stored size: 633 Bytes

Contents

<h2><%= t('settings') %></h2>
<div id="preference-settings">
  <%= f.label(:calc_type, t("calculator")) %>
  <%= f.collection_select(:calculator_type, @calculators, :to_s, :description, {}, {:id => "calc-type"}) %>

  <% if !@object.new_record? %>
    <div class="calculator-settings">
      <% f.fields_for :calculator do |calculator_form| %>      
        <%= preference_fields(@object.calculator, calculator_form) %>      
      <% end %>
    </div>
    <% if @object.calculator.respond_to?(:preferences) %>
      <div id="calculator-settings-warning"><%= t('calculator_settings_warning')%></div>
    <% end %>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree-0.11.4 vendor/extensions/theme_default/app/views/admin/shared/_calculator_fields.html.erb
spree-0.11.3 vendor/extensions/theme_default/app/views/admin/shared/_calculator_fields.html.erb
spree-0.11.2 vendor/extensions/theme_default/app/views/admin/shared/_calculator_fields.html.erb
spree-0.11.1 vendor/extensions/theme_default/app/views/admin/shared/_calculator_fields.html.erb