Keep style while strip link_to

0

I'm having trouble maintaining the style of a button by removing link_to and holding only the raw:

=link_to(raw("<span class='calsse'></span>"), rota)

To:

=raw("<span class='calsse'></span>")

When I do this the button loses all style, just being typed "button" on the page.

    
asked by anonymous 16.09.2014 / 16:22

1 answer

0

I just could not get the link_to, so I just changed the route.

    
16.09.2014 / 16:42