Open brchristian opened 10 years ago
Following the Spree Guide tutorial, at deface.heroku.com, I added in the following code:
<% if products.empty? %> <%= Spree.t(:no_products_found) %> <% elsif params.key?(:keywords) %> <h3><%= Spree.t(:products) %></h3> <% end %>
and the following selector:
erb[loud]:contains('t(:products)')
However, the Deface website failed to match. What's going on here? Is this a problem in the Spree Guides, or in the Deface website?
the deface website is using deface 0.9.
erb[loud]:contains('t(:products)') is the new 1.0+ syntax. code[erb-loud]:contains('t(:products)') is the old 0.9 syntax.
code[erb-loud]:contains('t(:products)')
Following the Spree Guide tutorial, at deface.heroku.com, I added in the following code:
and the following selector:
However, the Deface website failed to match. What's going on here? Is this a problem in the Spree Guides, or in the Deface website?