You will either need to write your own or use something like link_to
from regular rails.  Looking at the source for the <a> tag, there
isn't a way to remove the class without redefining the whole tag.

On Jul 19, 7:30 am, atmorell <[email protected]> wrote:
> Hello,
>
> I am currently doing some reductions in my classes and divs, and was
> wondering how I can remove the model-link class form the html
> generated from the a tag.
>
> <a><%= this.user.name %></a>
>
> <a href="/user/admin" class="user-link">admin</a>
>
> I only want:
> <a href="/user/admin">admin</a>
>
> Best regards.
> Asbjørn Morell

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to