Sha256: 064b06a14494659f391c24c525275cdd06d50fb3f3872803dfc8e6c58954f89f
Contents?: true
Size: 630 Bytes
Versions: 5
Compression:
Stored size: 630 Bytes
Contents
<%= label_tag "#{prefix}[calculator_attributes][preferred_base_percent]", Spree.t(:base_percent) %> <%= preference_field_tag( "#{prefix}[calculator_attributes][preferred_base_percent]", calculator.preferred_base_percent, type: calculator.preference_type(:base_percent)) %> <%= label_tag nil, Spree.t(:tiers) %> <div class="js-tiered-calculator"> <%= content_tag :div, nil, class: "js-tiers", data: { 'original-tiers' => Hash[calculator.preferred_tiers.sort], 'form-prefix' => prefix, 'calculator' => 'tiered_percent' } %> <button class="button js-add-tier"><%= Spree.t('actions.add') %></button> </div>
Version data entries
5 entries across 5 versions & 1 rubygems