Sha256: ce8afb7aca45d5b1df3e9451cfebd01058ecdd2a648e8044b38fe2d1b4dba200
Contents?: true
Size: 484 Bytes
Versions: 38
Compression:
Stored size: 484 Bytes
Contents
<!-- insert_after 'p[data-hook=price]' --> <p data-hook="zone_prices"> <label for="zone_prices">Zone Prices:</label> <% currency_prices = CurrencyPrice.find(:all, :conditions => {:variant_id => @variant.id}) %> <% currency_prices.each do |currency_price| %> <p> <%= currency_price.currency %>:<br /> <%= text_field_tag "currency_price_" + @variant.id.to_s + "_" + currency_price.currency.to_s, number_with_precision(currency_price.price, :precision => 2) %> </p> <% end %> </p>
Version data entries
38 entries across 38 versions & 1 rubygems