Loading...

spree-user@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [spree-user] How do you select <span> in Deface Alexander Bienz Fri Feb 17 02:00:46 2012

Looking at the documentation here:  https://github.com/railsdog/deface

You should be able to use any standard CSS selector to target that span, as
long as your virtual_path is set correctly.

On Fri, Feb 17, 2012 at 12:52 AM, slaxman <[EMAIL PROTECTED]> wrote:

> I wish insert a line of erb after the <span class = "price selling"..>
> in cart_form partial. However I am unable to select it using Deface.
>
> <div id="product-price">
>     <h6 class="product-section-title"><%= t(:price) %></h6>
>     <div><span class="price selling" itemprop="price"><%=
> number_to_currency(@product.price)%></span>
>     </div>
> </div>
>
> I have currently recreated the partial in my app/views/products to
> implement. is there a better way to do it using deface?
>
> Thanks!
> Sandeep
>
> --
> You received this message because you are subscribed to the Google Groups
> "Spree" group.
> To post to this group, send email to [EMAIL PROTECTED]
> To unsubscribe from this group, send email to
> [EMAIL PROTECTED]
> For more options, visit this group at
> http://groups.google.com/group/spree-user?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Spree" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/spree-user?hl=en.