Created
April 1, 2016 08:06
-
-
Save anonymous/b2e1f87a34ea255160cd1c2c390bcb2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- brand.available_products.order('price_min_cents ASC').each_with_index do |product, index| | |
%a.card_price{:href=> "", "data-selected" => (index == 1 ? "true" : "false"), "data-pid" => product.id} | |
= humanized_money_with_symbol product.price_min, no_cents_if_whole: true | |
- if product.in_promotion? | |
= promotion_label(brand) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment