Sha256: ec2b9adfb31ad0decce08af195706342787ba3d257f775478eab85a40213f0dc
Contents?: true
Size: 576 Bytes
Versions: 15
Compression:
Stored size: 576 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) %> <%= 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>
Version data entries
15 entries across 15 versions & 1 rubygems