Sha256: b81328460ca6d074ae23c2e4ed405f0bfd7b00db500a844e71d93b09e73a309b
Contents?: true
Size: 562 Bytes
Versions: 6
Compression:
Stored size: 562 Bytes
Contents
<h2><%= t('settings') %></h2> <%= f.label(:calc_type, t("calculator")) %> <%= f.collection_select(:calculator_type, @calculators, :to_s, :description, {}, {:id => "calc-type"}) %> <% if !@object.new_record? %> <% f.fields_for :calculator do |calculator_form| %> <div class="calculator-settings"> <%= preference_fields(@object.calculator, calculator_form) %> </div> <% end %> <% if @object.calculator.respond_to?(:preferences) %> <div id="calculator-settings-warning"><%= t('calculator_settings_warning')%></div> <% end %> <% end %>
Version data entries
6 entries across 6 versions & 2 rubygems