Sha256: fe20f69aec4612c1a1625c4e915e592a70b7130314dc7c884c25ce959d916392
Contents?: true
Size: 728 Bytes
Versions: 9
Compression:
Stored size: 728 Bytes
Contents
<fieldset id="calculator_fields"> <legend><%= t('calculator') %></legend> <div id="preference-settings"> <p> <%= f.label(:calc_type, t("calculator")) %> <%= f.collection_select(:calculator_type, @calculators, :to_s, :description, {}, {:id => "calc-type"}) %> </p> <% 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> </fieldset>
Version data entries
9 entries across 9 versions & 1 rubygems